Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unable to set up Plaid Integration. #147

Open
benhameen86 opened this issue Jan 28, 2023 · 0 comments
Open

Error: Unable to set up Plaid Integration. #147

benhameen86 opened this issue Jan 28, 2023 · 0 comments

Comments

@benhameen86
Copy link

Steps to Reproduce:

  1. Follow the cli prompts to setup mintable
  2. Enter code from the link to give access to mintable in google

Error:

✔ Enter the code from your browser here … **************************************************************
2023-01-28T17:03:48.271Z [ERROR] Unable to set up Plaid Integration.

 GaxiosError: invalid_client
    at Gaxios._request (/usr/local/lib/node_modules/mintable/node_modules/gaxios/build/src/gaxios.js:85:23)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async OAuth2Client.getTokenAsync (/usr/local/lib/node_modules/mintable/node_modules/google-auth-library/build/src/auth/oauth2client.js:122:21) {
  [stack]: 'Error: invalid_client\n' +
    '    at Gaxios._request (/usr/local/lib/node_modules/mintable/node_modules/gaxios/build/src/gaxios.js:85:23)\n' +
    '    at processTicksAndRejections (internal/process/task_queues.js:97:5)\n' +
    '    at async OAuth2Client.getTokenAsync (/usr/local/lib/node_modules/mintable/node_modules/google-auth-library/build/src/auth/oauth2client.js:122:21)',
  [message]: 'invalid_client',
  response: {
    config: {
      method: 'POST',
      url: 'https://oauth2.googleapis.com/token',
      data: 'code=4%2F1AWtgzh5WL_6rxWyD4cmagB2mtNSa4IRe3yzx64Hy-nS0HLYArH8iaHygmy0&client_id=809942623068-2but9kgp23608e0m72clbbd1cpklp8l3.apps.googleusercontent.com&client_secret=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%20&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=authorization_code&code_verifier=',
      headers: {
        'Content-Type': 'application/x-www-form-urlencoded',
        'User-Agent': 'google-api-nodejs-client/5.10.1',
        'x-goog-api-client': 'gl-node/12.22.9 auth/5.10.1',
        Accept: 'application/json'
      },
      params: [Object: null prototype] {},
      paramsSerializer: [Function: paramsSerializer] {
        [length]: 1,
        [name]: 'paramsSerializer'
      },
      body: 'code=4%2F1AWtgzh5WL_6rxWyD4cmagB2mtNSa4IRe3yzx64Hy-nS0HLYArH8iaHygmy0&client_id=809942623068-2but9kgp23608e0m72clbbd1cpklp8l3.apps.googleusercontent.com&client_secret=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%20&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=authorization_code&code_verifier=',
      validateStatus: [Function: validateStatus] {
        [length]: 1,
        [name]: 'validateStatus'
      },
      responseType: 'json'
    },
    data: { error: 'invalid_client', error_description: 'Unauthorized' },
    headers: {
      'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
      'cache-control': 'no-cache, no-store, max-age=0, must-revalidate',
      connection: 'close',
      'content-encoding': 'gzip',
      'content-type': 'application/json; charset=utf-8',
      date: 'Sat, 28 Jan 2023 17:03:48 GMT',
      expires: 'Mon, 01 Jan 1990 00:00:00 GMT',
      pragma: 'no-cache',
      server: 'scaffolding on HTTPServer2',
      'transfer-encoding': 'chunked',
      vary: 'Origin, X-Origin, Referer',
      'x-content-type-options': 'nosniff',
      'x-frame-options': 'SAMEORIGIN',
      'x-xss-protection': '0'
    },
    status: 401,
    statusText: 'Unauthorized',
    request: { responseURL: 'https://oauth2.googleapis.com/token' }
  },
  config: {
    method: 'POST',
    url: 'https://oauth2.googleapis.com/token',
    data: 'code=4%2F1AWtgzh5WL_6rxWyD4cmagB2mtNSa4IRe3yzx64Hy-nS0HLYArH8iaHygmy0&client_id=809942623068-2but9kgp23608e0m72clbbd1cpklp8l3.apps.googleusercontent.com&client_secret=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%20&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=authorization_code&code_verifier=',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
      'User-Agent': 'google-api-nodejs-client/5.10.1',
      'x-goog-api-client': 'gl-node/12.22.9 auth/5.10.1',
      Accept: 'application/json'
    },
    params: [Object: null prototype] {},
    paramsSerializer: [Function: paramsSerializer] {
      [length]: 1,
      [name]: 'paramsSerializer'
    },
    body: 'code=4%2F1AWtgzh5WL_6rxWyD4cmagB2mtNSa4IRe3yzx64Hy-nS0HLYArH8iaHygmy0&client_id=809942623068-2but9kgp23608e0m72clbbd1cpklp8l3.apps.googleusercontent.com&client_secret=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%20&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=authorization_code&code_verifier=',
    validateStatus: [Function: validateStatus] { [length]: 1, [name]: 'validateStatus' },
    responseType: 'json'
  },
  code: '401'
} 


System Info:

arch: x64
platform: linux
os: v5.15.0-58-generic
mintable: v2.0.3
node: v12.22.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant