cata12
8 years agoContributor
How to deal with "unsupported grant type" for a password field ?
Hi all,
I have a POSTMAN POST request which uses a application/x-www-form-urlencoded body type and returns an access token
grant_type: password
scope: instance_123445
username: user.name
password: 123456
Now using ReadyAPI 2.0.1 I get a "unsupported_grant_type" error when adding the above items as request parameters and adding "application/x-www-form-urlencoded" under MediaType drop down.
How can I get this working ?
Thanks
Catalin
Hi, I finally made it work. I had to enable "Post QueryString" option to send the parameters in the request body rather than sending them in the header.