POSTMAN error -> POST /apitoken/clientApp/accessToken endpoint issue
Monday, July 20, 2020 at 01:44pmPOST /apitoken/clientApp/accessToken endpoint not working on Vancity SBX. Host portion is fine as it works with GET /api/sysinfo endpoint.
{
"clientId": "??????????????????????????",
"secret": "????????????????????????????????????????????????????????????????????????",
"type": "OWNER" ( I've tried "SENDER" with "email" no help )
}
Accept + Content-Type Header parms are both to application/json
My Auth TYPE = No Auth
<html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>
Reply to: POSTMAN error -> POST /apitoken/clientApp/accessToken endpoint issue
Tuesday, July 21, 2020 at 10:31amPer suggestion from Duo, I installed tool I was using (POSTMAN) on a different PC and it worked on that PC. I went back to original PC, uninstalled/re-installed tool, removed all traces of original work, and it worked on original PC as well.
My learning (re POSTMAN) is if you keep getting error that is not able to be duplicated by others, or in other environments, it may be time to re-install tool and be sure! to clear out any old/pre-existing work that may have survived the re-install process.