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

You are here

Token request gives error 400

2 posts / 0 new
Last post

Prakash Gupta's picture
by Prakash Gupta

Token request gives error 400

Hi,

I tried to get the OAuth2 Access Token using below Url and got the Client Id and Client scret from free trials API at https://dev.telstra.com/user/me/apps.

Passed Client_Id,Client_Secret,grant_type,Scope as parameters and added content_type in header as below.

I couldn't get the token and please have a look on the error i faced in the below screenshot.

Let me know cause of issue or provide me the information about how to get the token.

 

 

Vinodh Seshadri's picture
by Vinodh Seshadri

Hi Prakash.

Hi Prakash.

Sorry for the delayed response.

Please note I have updated the image you posted to mask the client ID and secret details.

For generating a oAuth token, could you please ensure that the URL is "https://tapi.telstra.com/v2/oauth/token" and construct a body similar to my screenshot below?

 

Log in or register to post comments