This just started today, I have Postman setup to use the GET Token (Client Credentials) API. It has been working for over a year. The API works fine for the production environment, however, for the sandbox environment, I’m now receiving Bad Client credentials error. I created a new PAT, however, the error is still the same. When I run the same API using production credentials it works fine. Did something change?
Just to confirm, you are using Postman environments for each of your IDN Tenants?
And that the values for pat-id and pat-secret are correct in there (in CURRENT VALUE column)
You could try duplicate that GET token request, then hardcode in the client ID and Secret, to confirm if it works or not.
Hi Jason, thank you for responding. I did take your advice and copy the GET request, entered the ID and Secret directly and still get Invalid_Client “Bad Client credentials”. I created another PAT and still got the same results. When I use a PAT from the production domain, works fine.
I second Jason’s response. If your prod credentials work, then likely you are targeting the prod URL and not the SB URL. Double check your environment settings for the tenant or hard code the URL.