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
You are here
invalid_client error
Wed, 10-01-2018 - 10:31
#1

invalid_client error
Thu, 11-01-2018 - 14:06
#2

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