Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,351
Community Members
 
Community Events
168
Community Groups

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

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

2 votes
Answer accepted

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

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events