Not sure what happened to my previous question so posting this one again. Can't get the token neither via PHP app nor using postman. Getting as below: ![alt text] Any help would be appreciated ![alt text] : /storage/temp/1241-screen-shot-2017-02-27-at-201204.png : /storage/temp/1242-screen-shot-2017-02-27-at-201233.png
This is only a guess but it may be due to having the request body split over several lines . You can see that the redirect_uri parameter is not a complete word. grant_type=authorization_code&code=123456789&redi rect_uri=xxxYYYzzz The body should be one complete string with no newline or carriage return characters. grant_type=authorization_code&code=123456789&redirect_uri=xxxYYYzzz It's also worth checking that the value for redirect_uri is the correct value for the environment. Using the sandbox value in the production environment will also trigger this error.