Trouble connecting slack and confluence
Asked by bdaly:

Hi I try and add a slack workspace to my confluence spaces and just get this message:

```
{"error":{"message":"Invalid or missing CSRF token","code":"INVALID_CSRF"}}

```

Any tips on how to sync them?


Answers:
author: Kristina Radeva
body: This may be because of your browser. I get this a lot on Firefox. Which one are you using?

comments: author: bdaly
body: I'm using Safari on Mac. Would chrome be better?


author: Kristina Radeva
body: Yes, I highly recommend using Chrome.

I get many issues when I work on my Safari (main work browser), so having Chrome installed and using it for some add-ons, integrations and connections is the best way to go about it.


author: bdaly
body: Thanks Kristina I will try it. B:)


author: bdaly
body: Success - Chrome worked perfectly. Thanks Kristina!


author: Antony King
body: I'm getting this with Chrome - and our slack integration has stopped working in the last day or so. Any other suggestions ?


author: Kristina Radeva
body: Try removing your cookies for Confluence and Slack and try again.


author: Gui Gouveia
body: I had the same issue in all browsers (Chrome, Edge, Safari etc). It was only solved when I enabled 3rd parties cookies on this authentication site.

![3rd parties cookie.png](https://community.atlassian.com/t5/image/serverpage/image-id/115441i40EC650E4AB21EC7/image-dimensions/215x170?v=v2 "3rd parties cookie.png")


author: Surendhar
body: [@Gui Gouveia](/t5/user/viewprofilepage/user-id/3607819) this worked for me


author: Tamer Solieman
body: It worked for me when change browsers from Brave to Chrome


author: Iran R
body: yes it was the browser in my case too. thanks. I was using Safari.


author: Natalia
body: Solved it for me as well! I used chrome and it worked fine, thank you! ??


author: Sani
body: on Safari go to preferences \> Privacy \> disable (Prevent Cross-site Tracking) option. And then try again. This should work.   

Once you have connected slack, you can enable this settings also make sure that you don't have block all cookies enabled because this might mess with the integration as well.   

Hope this is useful

comments: author: Sani
body: ![Screenshot of Safari (31-03-2021, 13-48-41).png](https://community.atlassian.com/t5/image/serverpage/image-id/136781iA5A426AAE5A99D32/image-size/large?v=v2&px=999 "Screenshot of Safari (31-03-2021, 13-48-41).png")


author: Julien Bonastre
body: I'm a chrome user and have tried a similar option to no avail either :'(

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/136804iB24933C1F62DE1B6/image-size/large?v=v2&px=999 "image.png")


author: Sani
body: try deleting all cookies first then all all cookies then quit your chrome completely and then reopen chrome to see if that works


author: Akshay Bharadwaj
body: Safari settings worked. Thanks!


author: Tal Agam
body: Still occurs for me as well.

No success wen opening on different browsers or deleting cookies.

comments: author: Fabian Elezi
body: You don't have to delete cookies. You should allow them on your browser. It worked for me.


author: Panometric
body: It's definitely 3rd party cookies being blocked. Had the same issue in chrome, enabled all cookies, fixed it, set it back to block 3rd party. Privacy is never convenient. But it should be more so.


Tags: cloud

confluence-cloud

slack