Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

AtlassianHostRestClients authenticatedAsAddon() returning 403


We are facing a problem in some environments when trying to obtain a user's email.

Our app already has the ACCESS_EMAIL_ADDRESSES scope authorized by Atlassian.

In some environments, when trying to make this call:

.getForEntity("/rest/api/3/user/email?accountId=" + userAccountId, Object.class)

  The logs show this:

: Generating JWT with canonical request: [CanonicalHttpUriComponentsRequest@4ea4b2b4 method = 'GET', relativePath = '/rest/api/3/user/email', parameterMap = '[accountId -> (HIDDEN_ACCOUNT_ID),]']

org.springframework.web.client.HttpClientErrorException$Forbidden: 403 Forbidden:


We also updated our atlassian-connect-spring-boot version to 2.2.0 version and atlassian-connect descriptor to comply with the latest security requirement, adding:

"apiMigrations": {
"context-qsh": true,
"signed-install": true

The curious thing is that the error does not happen in our test environments.

What could be happening here?


0 answers

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,735 views 21 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you