Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Why am I receiving 'invalid csrf token' and 'mismatched token' error messages on subscription and follow actions?

Original title: Two problems I've noticed.

A topic by SirYanthon created Feb 22, 2017 Views: 5,553 Replies: 5
Viewing posts 1 to 5

Quite often when trying to subscribe to a thread or board I get this error message:

{"errors":["invalid csrf token (bad key)"]}

I then have to go back a page and click subscribe again before it subscribes.


The second problem I've noticed is when adding an item to a collection, and it then gives me the option to follow the game's developer, but that follow button when clicked does nothing. I then try to click the follow button right above the add to collection button instead, and that also does nothing. I find the only way to follow that works is to go to the bottom of the page, click on thier usename to see all thier work, and then follow on that page.

(+1)

I've found that refreshing the page first usually prevents the problem, but still takes up time, and only if I wait at least 10 seconds after it's finished loading.

Also probably relevant is that I'm having multiple tabs of the same site open at once. It seems that whichever tab loaded most recently is the one that works fine while the rest don't.

I also get a "mismatched token" popup when trying to click like on someones post. Again, refreshing fixes it. A minor problem, but still an inconvience,

Admin

Thanks for the report, are you using any browser extensions or anything that might mess with your cookies? Those "mismatch token" and "invalid csrf" have to do with the requests you're sending to our server missing some data.

(+1)

Not that I know of. This is everything installed into the browser:

BetterTTV
OpenH264 Video Codec provided by Cisco Systems, Inc.
Primtime Content Decryption Module provided by Adobe Systems, Incorporated
Widevine Content Dycryption Module provided by Google Inc.
Google Update
Java Deployment Toolkit 8.0.1210.13
Java(TM) Platform SE 8 U121
NVIDIA 3D Vision
NVIDIA 3D VISION
Sockwave for Director
VLC Web Plugin

Admin(+2)

Thanks for the information. We've received a few reports of this issue but they're very sporadic and we haven't been able to reproduce it ever to debug the issue. We're certain it's related an issue with cookies not being set correctly, or being edited. If you're still having trouble you can try a different browser to see if it has any effect.

Admin moved this topic to Questions & Support
This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.