I am trying to call the Settings API.
I created an API only user and also created the client Id and secret. But when I use them to get the OAuth Bearer Token I get the message "Invalid client id" when trying to call "https://rest.zuora.com/oauth/token".
Other APIs seem to work. For example, I can call "https://rest.apisandbox.zuora.com/v1/catalog/products" with my username and password. I can retrieve the products data.
Does anyone know why my Client ID looks bad? I have created a few of them...
Solved! Go to Solution.
Re: Invalid client id
Can you confirm you are trying to log into Production vs Sandbox?
The reason I ask, is the first url you posted is production (https://rest.zuora.com/oauth/token) and the other is sandbox.
For sanbox, oauth, use https://rest.apisandbox.zuora.com/oauth/token
If thats not the issue, please post the full api call (minus credentials) and we can troubleshoot from there.
Zuora Global Services | Zuora Certified Consultant