The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unexpected type of JSON object member with key "sub" in Postman

Hiroshi Nishio
Contributor
September 4, 2022

I used Postman to check if the API works and got this error.
The configuration is as follows

Error message = Unexpected type of JSON object member with key "sub".
Endpoint = https://suchica.atlassian.net/rest/api/3/myself
Authentication method = Bear Token
Access Token = eyJhbGciOiJIUzI1N.......... .eNPQT1AkZt5Ftqtod8
Scope = read:jira-user

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Hiroshi Nishio
Contributor
September 4, 2022

The endpoint was not correct.

This is because I think I use OAuth 2.0 (3LO), so I need to use the latter one.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#other-integrations

TAGS
AUG Leaders

Atlassian Community Events