invalid grant code in Oauth token request

426 0
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer


i am authenticating to one of our integration using Oauth mechanism as prescribed in airtable docs,

after granting access in the airtable, the accessToken is generated in only few cases but not all the time. There is no change in the flow and code. But the successful authentication is intermittent. 

The "/authorize" is working fine all the time. but the "/oauth2/v1/token" fails sometimes.

The request have the following params: code, redirct_uri, grant_type, code_verifier. 

The integration has client_secret, so client_id is not part of the request.

When the request fails, i get the Response as:  '{"error":"invalid_grant","error_description":"Unrecognized grant code"}' .


0 Replies 0