mintable
mintable copied to clipboard
Error: Unable to set up Plaid Integration.
Steps to Reproduce:
- Follow the cli prompts to setup mintable
- 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