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

Error integrating Confluence and Slack - "Error code: WRONG_ID"

Hey yall,

Anyone else running into issues when trying to integrate Slack with Confluence Cloud? It prompts me that I can integrate with Confluence for Slack app, and I click "Log in", then it takes me to an authentication page, which I progress past, then it asks me which slack workspace I want to connect to, which I also select appropriately... It then gives me the error "You've logged in to wrong Slack workspace" "Error code: WRONG_ID". The problem is that we have Slack Enterprise Grid, and so the integration seems to be looking only for the first slack workspace on our grid to have used the integration for Confluence for Slack app, which is not the workspace I am trying to connect.Annotation 2020-08-24 100737.png

Anyone run into this before? I have attached screenshot of the error as well.

1 answer

1 vote
Luiz Silva Atlassian Team Sep 08, 2020

Hi @Russell Zera,


I'm sorry for the late response and for the inconvenience you're going through.

I also have experienced some particular issues while authorizing Slack apps. From that experience, I know that that error usually happens under the following circumstances:

  1. You get a login prompt and click on it. 
    In this step, the Confluence app will pass the target workspace to Slack.
  2. When you get to the Slack authorization page, it happens you are not logged into that expected workspace in your browser, so Slack shows the workspace selector and allows you authorizing into a different workspace.
    As far as I can tell, if you're logged into the correct workspace in your browser, the workspace selector will not be displayed by Slack.
  3. After authorization the app will receive the authorization for the other workspace and treat this as a mistake, thus the message you are seeing.

The fact that you are in an Enterprise Grid makes things even more confusing, since the same ephemeral messages you get in one workspace are visible in others and, clicking on a login button generated in a different workspace, may indeed lead you to that error as it will expect the authorization for the first workspace.

Therefore I suggest, if you could, please, make sure you are logged into your workspace in your browser, either by:

  1. performing a manual login into Slack in your browser; or
  2. (the way I prefer because it's easier) you can go to your Slack client, click on the workspace name (top left corner) to open the dropdown menu, and click Customize <Workspace name>. That should open your browser and log you in automatically.

After that, please, try again logging into the app, either by:

  1. clicking the login button from a login prompt; or
  2. using the slash command /confluence login That will generate a login button specifically targeting the current workspace so you can be sure where you are logging into.


I hope it helps. Please let me know if you fixed the issue.


Suggest an answer

Log in or Sign up to answer
Site Admin
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...

26 views 0 2
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