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

Why doesn't my API token work? Edited

I want to connect my Cloud version of Confluence (free license)  to the Jira Service Desk (Server version), so I need to generate the API token. I've generated it, used it with curl but when I'm trying to save it in the Confluence Cloud Integration I get this error:

Your Confluence user and token credentials have been rejected by Confluence. If you need help with generating API tokens, see

What might be the problem here?



2 answers

@JConstantine - Not sure, but may be it is  a cloud-server stuff. The doc says that

"API tokens can be used with the Jira Cloud and Confluence Cloud REST APIs." 

@NiranjanThis is obviously a cloud-server stuff, but I can't figure out what it is :(

@JConstantine - As per the KB it says API token works only for Cloud-Cloud, but you are trying Cloud version of Confluence (free license)  to the Jira Service Desk (Server version)

@Niranjan  Well, now I'm confused. I've been told that it's possible to do that. Check this out: How can I integrate the Cloud version of Confluence into my Server version of Jira Service Desk? 
So there's no way I can use a Cloud version of Confluence with the Server version of JSD? What I need is to able to use the Confluence knowledge base inside the Customer Portal in JSD.

@NiranjanI've read that as well, but I can't create the reciprocal link.

@NiranjanOn this page it is said that

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

But I'm using a cloud version of Confluence for which I can't create the reciprocal link.

0 votes

Hi @JConstantine


The integration of JSD Server with Confluence Cloud has been added to JSD Server in 4.12.0 release. and it should be working with the limitations based on the type of Confluence Cloud license you are using.

The response you have received means that Confluence has responded with the equivalent of "Wrong username or password" kind of response. That also means that JSD was successful in reaching Confluence Cloud and received a response, so on the networking level, everything seems fine.

Can you please verify that you can get a valid response from Confluence when trying to use the token manually? You can use a tool like postman for that or a simple command like 

curl -v --user

One of the most common problems of this sort is a typo in the user email, copying the API token with additional characters or using a username instead of user email for the API token authorization.


Let me know if that doesn't help you solve your issue.


I still can't save it in the Confluence Cloud Integration.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

75 views 0 3
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