Call API access_token not working with raw data?

I am trying to built some integration between our different business applications, a.o. SuiteCRM.
Therefore, I want to connect other systems with SuiteCRM by means of the API V8. I am testing those with Postman.

When I call the API-access-token webservice with form-data, everything works fine:

When, however, I try to do the same API-call with raw data (JSON), the webservice looks to fail one way or another:

I have hidden all confidential terms in variables, but as you see: the call parameters are the same.

One of our middleware-applications only works with Raw/JSON data, not (yet) with form-data.
Anyone a suggestion about how I can let this same webservice be working in JSON mode?

Hey there,

Are you still having issues with this?


Oddly enough, I’ve given it a try myself on a Local copy of 7.11.18 and it appears to be grabbing the access_token as expected

I’ve created a Client Credentials Grant in the CRM:

(For testing purposes, i’ve set the secret as: “john”)

And set the following parameters in Postman, which returns an Access_token:


I can’t see why it would fail on Raw/JSON with the same parameters, though


Have you perhaps tried entering the values directly, and not using the Environment Variables?

Also, which version of SuiteCRM are you using?
Maybe that has some influence on the issue


I wouldn’t expect it to have changed, if youre using the same Parameters
But as you are getting a “No user found” error, have you double-checked that the “PW_username” variable does exactly match the username of the Client Credentials grant in the CRM?