Forums

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

Not able to create credentials for service account

Daniel Hamngren
May 25, 2026

I have created a service account.

I can see it in admin.atlassian.com under directory -> Service accounts.

I want to create an API token. The following happens:

  • I click on the service account and then the "Create credentials" button.
  • I select API Token and follow the steps to create the API token, including selecting the permissions I need.
  • A token is generated and I copy the secret.

The issue is that the generated token is not working (401 Unauthorized). But what is even more worrying is that the newly created credential is not visible in the list of credentials for the service account.

I asked another admin for a different site if she could create credentials and the credentials didn't show up for her either.

Are any of you able to create new credentials for your service account at the moment?

/Daniel

2 answers

0 votes
Germán Morales _ Hiera
Atlassian Partner
May 25, 2026

Hi @Daniel Hamngren ,

I would check two separate things here.

For the 401 Unauthorized, make sure the request is using the correct endpoint format for scoped service account API tokens. Atlassian’s docs say these tokens should be used through the Platform API Gateway, for example:

https://api.atlassian.com/ex/jira/{cloudId}/rest/api/3/...

instead of calling the site URL directly, such as:

https://your-site.atlassian.net/rest/api/3/...

Also check:

- the token has the required Jira scopes, for example read/write scopes depending on the endpoint
- the service account has app access
- the service account has the required Jira project permissions
- you are using the service account email/account with the token, not your personal user

The part that worries me more is the credential not appearing in the service account credentials list after creation. If the same behaviour happens across different sites/admins, that sounds less like a permission problem and more like a possible Atlassian-side issue or rollout problem.

As a quick test, I would try a simple GET request against:

https://api.atlassian.com/ex/jira/{cloudId}/rest/api/3/project/{projectKey}

If that fails with 401, it is likely endpoint/auth/scope/app access. If the token is created but not listed in Admin afterwards, I would raise it with Atlassian Support.

0 votes
Arkadiusz Wroblewski
Community Champion
May 25, 2026

Hello @Daniel Hamngren 

Please try first steps from here 401 Unauthorized error when service account accesses Jira or Confluence API | Atlassian Cloud | Atlassian Support

If that doesn’t help, please let us know.

Best,
Arkadiusz

Daniel Hamngren
May 25, 2026

Hello,

I tried the steps. I am using the correct URL for api requests.

That didn't help.

And there are still no credentials in the list under my service account.

Are you able to create a service account credential?

Arkadiusz Wroblewski
Community Champion
May 25, 2026

@Daniel Hamngren 

I'll check that within the next 2-3 hours and let you know.🤠🤞

Like Daniel Hamngren likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events