Sorry, you need to enable JavaScript to visit this website.

You are here

invalid_client error

2 posts / 0 new
Last post

Terence's picture
by Terence

invalid_client error
I started the api geting started tutorial in the link below, however after an app is created, I can’t get a token using the given client key and client secret. I keep getting an “invalid_client” error. Can someone suggest how can I get authentication and a token? https://dev.telstra.com/content/messaging-api-getting-started

David's picture
by David

Hey Terence,
Hey Terence,   There's a couple of reasons this could be happening for you. Either you're encoding in the wrong content type (it should be x-www-form-urlencoded, definitely not raw), or you're missing (or incorrect) key/value.   So check your content type is  x-www-form-urlencoded. And then make sure you set your client_id with the right value, client_secret with the right value and grant_type as client_credentials. I hope this helps! thanks, David
Log in or register to post comments