We are able to add a Coinbase account. But when the access token expires after 2 hours, on calling the refresh token API (https://api.coinbase.com/oauth/token), we get a 403: Forbidden error response. This happens with every request. The only solution is to reconnect the account again from scratch.
Below is the response that we receive from the API. We have confirmed that the access token & refresh tokens are being correctly sent & received. Please advise. Thanks.
response: {
status: 403,
statusText: ‘Forbidden’,
headers: AxiosHeaders {
date: ‘Thu, 25 Jan 2024 17:15:48 GMT’,
‘content-length’: ‘0’,
connection: ‘keep-alive’,
‘cache-control’: ‘no-store’,
‘referrer-policy’: ‘strict-origin’,
‘set-cookie’: [Array],
‘strict-transport-security’: ‘max-age=31536000; includeSubDomains; preload’,
‘trace-id’: ‘4861461452033515732’,
vary: ‘Accept-Encoding’,
‘x-content-type-options’: ‘nosniff’,
‘x-download-options’: ‘noopen’,
‘x-frame-options’: ‘DENY’,
‘x-xss-protection’: ‘1; mode=block’,
‘cf-cache-status’: ‘DYNAMIC’,
server: ‘cloudflare’,
‘cf-ray’: ‘84b2290c2fc4145f-AUS’,
[Symbol(defaults)]: null
},