question

mw-subscriptions avatar image
mw-subscriptions asked mw-subscriptions answered

{"message":"Invalid OAuth credentials"}

When I try to make a call to the sandbox to get the token along with the code, I get the Invalid OAuth Credentials error. What I may be doing wrong? I run this URL. I verified several times the values passed are accurate. Please help

https://sandbox.dev.clover.com/oauth/token?client_id=XXXXXXXXXXX&client_secret=XXXXXXXXXXXXXXXXX&code=XXXXXXXXXXXXXXXXXX
OAuth
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

mw-subscriptions avatar image
mw-subscriptions answered
I figured. Was simply trying to load this URL in a browser. When I try to run the query programmatically from the host, the error goes away.
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community