How to fix "Invalid CSRF token found in form body"?

I just updated SourceTree, tried to start it but have to log in to Atlassian. Tried logging in with Google+, get "Invalid CSRF token found in form body" error. How do I fix it?

7 answers

Someone else asked this same question around the same time: https://answers.atlassian.com/questions/37036728. Sounds like an bug. You might see if you can find a report in jira.atlassian.com, and if not, file one.

I´m having the same problem after an update. The setup asks for my Atlassian user id, and i get this message "Invalid CSRF token found in form body". I cannot finish the install, so i cant use SourceTree.

I´m having the same problem. I can´t use my Google+ account to finish instalation. I can't use SourceTree.

Looks like they tried to implement fixes for these in 1.8.2.2. Anyone tried that yet?

nope, it didn't fixed. you could only bypass it by either refresh the page (which is internet explorer - if  you're in Windows), or just close it. then after the page done, never spent too much time fiddling with it, just login and let the launcher recognize your account.

Same here, pathetic

The update to version 1.8.2.2 resolved for me. Now i can register the SourceTree using my google+ account.

Thanks.

I got the error "No CSRF token found in headers" during login via "Use an existing account" within version 1.8.2.11. And therefor the app is not starting at all - SHIT.

 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

426 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you