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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Integromat Jira connection error (API Key)

I just set up a new Jira environment to run client demos ( I created an API key and copied all the relevant details into Integromat, but I get this error.

"An unexpected error has occured. Please contact your JIRA Administrator. - Basic authentication with passwords is deprecated. For more information, see:"

I am site Administrator.

I have a currently working connection set up to the normal company Jira (, I deleted this connection and created it again with no issues.

I do exactly the same for the new environment but it doesn't work. The only difference that I can see is that the new api key is only 21 characters long and the old one is 25.

1 answer

1 accepted

0 votes
Answer accepted
Andy Heinzer Atlassian Team Nov 17, 2020

Hi Thomas,

I understand that you're using Jira Cloud and are trying to integrate this to Integromat using an API token.  I am afraid that I don't have any experience using Integromat, but the error message you are seeing would tend to indicate that you might be trying to use that API token in a manner like you would use a password.

In which case I would actually refer you to this other deprecation notice over in Deprecation notice - Basic authentication with passwords and cookie-based authentication.  So again, I don't know how Integromat handles this, but it is very possible that you might have been able in the past to use that API token in the exact same way as a password.  But since we deprecated the use of passwords for basic auth, the only way that API token will be able to work is for you to encode it along with your username into a base64 string and then pass it as a header in your REST API call.

More detailed steps on how we expect that call to happen are explained in Basic auth for REST APIs.

  • Linux/Unix/MacOS:
    echo -n | base64
  • Windows 7 and later:
    $Text = ‘’
    $Bytes = [System.Text.Encoding]::UTF8.GetBytes($Text) $EncodedText = [Convert]::ToBase64String($Bytes)

Those steps can then at least give you an encoded string of characters that can then be added to the header of the REST API call.  We've included an example of how this would work in a utility like curl:

curl -D- \ -X GET \ -H "Authorization: Basic ZnJlZDpmcmVk" \ -H "Content-Type: application/json" \ ""

But it's not clear to me if Integromat can be setup to use this kind of authorization header in the call it is making to Jira Cloud.  If it can, then this should get things working.  If it cannot, then I would recommend reaching out to Integromat in order to see if they can somehow support this kind of header in the calls it makes to Jira Cloud.

I hope this helps.  Let me know the results.


When I create a connection in Integromat it asks me for the name of the connection, Service URL for my Jira instance, Username and API Token, I don't know what it then does.


But it works fine for - and the api token, but it doesn't work for - and the api token. 


This is the Integromat help centre guide to creating the Jira - Integromat connection:

Andy Heinzer Atlassian Team Nov 17, 2020

Thanks for the help guide link.  That link is rather confusing.  The title states this is for Jira Server, but clearly their own screenshot examples are clearly showing this integration using Jira Cloud.  Their suggestion to create an API Token on would only apply to Jira Cloud sites, and never to a Jira Server site.  Jira Server does not currently allow users to create their own API Token, like Jira Cloud does.  However Jira Server does still permit REST API calls to utilize username and passwords directly for authentication.  Where Jira Cloud does not.

That said, any domain that ends in is clearly an Atlassian Cloud site.  It looks like you have the same user account here between these sites, which is common.  So creating a single API token for that account on the site, will then allow you to use those same credentials across any Atlassian Cloud site.

I took a closer look at the account you mentioned here.  It appears that the working account is a site-admin of that Cloud site, but that on the non-working one (, the user account you mentioned of ( is not a site-admin there and instead is just a regular user on that site. 

I'm not sure if that is a factor here as I am not clear as to what exact REST call Integromat is trying to make when setting up this integration.  But it might be a factor here if it's trying to make some kind of call that only a site-admin would be able to perform.  But if that was the case, I would expect the error message to be slightly different here.


I didn't know that the generated credentials work across different sites for the same user.

I tried the original api token for that I generated at and it works in Integromat for


I'm not sure why the one I generated on sx-demos doesn't work though. I created 3 different ones, for 3 different users and none of them work. All give the same error. Maybe the problem is with how the site was set up/create.

I don't think it the admin level you mentioned, as it's the other way around. It works from, where I am not site admin, but doesn't work on the site where I am site admin.

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,175 views 8 28
Join discussion

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