You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"error": "invalid_grant",
"error_description": "The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."
}
I've checked the code and REDIRECT_URI matches exactly with the one specified in the API Dashboard.
Why am I still getting this error?
The text was updated successfully, but these errors were encountered:
vaibhavdeepP
changed the title
invalid_grant - oauth#token
invalid_grant - oauth#token API v2
Mar 1, 2023
Using ProductHunt API for authenticating user.
Step 1:
Followed this https://api.producthunt.com/v2/docs/oauth_user_authentication/oauth_authorize_ask_for_access_grant_code_on_behalf_of_the_user and received access_grant as
code
in the callback URl.Step 2:
Following this https://api.producthunt.com/v2/docs/oauth_user_authentication/oauth_token_use_the_access_grant_code_you_received_through_the_redirect_to_request_an_access_token
with the payload as
This POST request throws this error -
I've checked the
code
andREDIRECT_URI
matches exactly with the one specified in the API Dashboard.Why am I still getting this error?
The text was updated successfully, but these errors were encountered: