Happy Business Starts Here

New Student

Invalid client id

Hello,

 

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...

 

Thanks

 

Bill

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
New Student

Re: Invalid client id

2 REPLIES 2
Highlighted
Zuora Staff

Re: Invalid client id

Hi Bill, 

 

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.

 

Thank you,
Adam

Highlighted
New Student

Re: Invalid client id