Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Authorization issues with GRAPHQL

KB March 14, 2024


I want to build an export for insights from JPD, given the product does not offer any method of it. I found it hard to leverage the graphql API but managed to put together the components in GraphQL explorer.

Now trying this in a node app, I get the error:

Auth category: UNAUTHENTICATED is not allowed in service polaris

This is how I put together the request:

I also copy the token from

const response = await fetch('', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json',
        body: JSON.stringify({
          query: `query myquery {
            polarisInsights(project: "ari:cloud:jira:MYCLOUDID:project/PROJECTID",
                    container:"ari:cloud:jira:MYCLOUDID:issue/`+id+`") {

Not sure about the Token format, but from what I found this would be it.


I appreachiate any help!

2 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
KB March 26, 2024

I found the solution. Unfortunately the documentation is really bad for this. With the help from the support team i figured the resolution:

First, the domain you use does not matter.

Second the authorization:

'Authorization':"Basic InserTokenHere"
and the token needs to be created by this string in  base64 encoding:
0 votes
Hermance NDounga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 15, 2024

Hello can you please try using this URL instead  of 

it should work :) 



KB March 16, 2024

Thanks Hermance, unfortunately it does not change a thing.

How should the Authentication be formated?


Thanks & Best


KB March 19, 2024

@Hermance NDounga Can you share some details o n the Aut token format, or if there is anything else to consider here?

AUG Leaders

Atlassian Community Events