You need to sign in to do that
Don't have an account?
Joe Meredith 7
Invalid grant when using x-www-form-urlencoded for post request
I'm trying to generate an access token and it generates fine when using the "form-data" option in post-man. However, we have a client who is only able to use x-www-form-urlencoded in their post request and using this method returns the below error:
{
"error": "invalid_grant",
"error_description": "authentication failure"
}
I am including the password and security token (concatanated) in the request and I cant figure out why it would work using form-data but not form-urlencoded
Any help greatly appreciated!
{
"error": "invalid_grant",
"error_description": "authentication failure"
}
I am including the password and security token (concatanated) in the request and I cant figure out why it would work using form-data but not form-urlencoded
Any help greatly appreciated!
Check similar issue below for authentication failure error.
https://salesforce.stackexchange.com/questions/339872/errorinvalid-grant-error-descriptionauthentication-failure
Please mark as Best Answer if above information was helpful.
Thanks,
First login and check that user login hisroty by which you are trying to login. Check their for specific error message.
If still showing invalid grant try to reset password and do again. sometimes multiple wrong request leads to use lock.
If you can share the request details that will help to debug issue.
Thanks,
Arawind Mundankar