Home / Ucraft How To's

How to fix the “CSRF token mismatch error” message

Customer Success Team

Last updated on Feb 16, 2024

Errors are a tiny but inevitable part of one's web experience, no matter how secure and trusted a platform is. Luckily, there are always ways to bypass them without any ifs, ands and buts.

Here's a brief cheat sheet of avoiding the "CSRF token mismatch error" message you might get while creating your website or crafting a logo with our Logo Maker.

* Please note that the information provided here for resolving the “CSRF token mismatch error” is tailored to the Ucraft platform for various browsers. Keep in mind that these solutions may not be universally applicable to all use cases or platforms. For site-specific troubleshooting, it’s advisable to consult the documentation relevant to your particular platform.

What's CSRF?

Cross-Site Request Forgery is an attack that forces the user to execute unwanted actions on a website during state-changing requests.

The “Invalid or missing CSRF token” message means that your browser couldn’t create a secure cookie or couldn’t access that cookie to authorize your login. This can be caused by ad- or script-blocking plugins or extensions and the browser itself if it's not allowed to set cookies.

It's completely harmless on Ucraft and sometimes all you need to do is refresh your page, and you're all set to continue your job.

If this doesn't help, there are ways to fix this on different browsers.

Safari

  1. Open Safari Preferences from the drop-down menu in the upper right corner or through Cmd + comma (⌘+,) shortcut.

  2. Click the Privacy tab and make sure that "Cookies and website data" is set to either "Always allow" or "Allow from websites I visit."

  3. Click on the Manage Website Data button to see all locally stored website data.

  4. Search for “Ucraft” and remove all Ucraft-related entries.

  5. Reload Safari and check Ucraft.

Chrome

  1. Open Chrome Settings.

  2. Scroll to the bottom and click on Advanced.

  3. In the Privacy and Security section, click the Content Settings button.

  4. Click on Cookies.

  5. Next to Allow, click Add. Type [*.]ucraft.com and click “Add.”

  6. Under All cookies and site data, search for Ucraft, and delete all Ucraft-related entries.

  7. Reload Chrome and log into Ucraft.

Firefox

  1. Go to Firefox's Preferences > Privacy & Security Menu.

  2. In the History section, select "Use custom settings for history" from the drop-down menu.

  3. Click on Exceptions and whitelist ucraft.com.

  4. Scroll down to Site Data and click on Settings next to it.

  5. Search for "Ucraft" and remove all shown entries.

  6. Reload Firefox and try to log in.

* Note, if this alone won't help, please enable third-party cookies from the menu above.

You're all set now!

Have more questions while dealing with errors? Don’t hesitate to contact us via the live chat box in the lower right corner and ask right away.

Likewise, if you’re looking for the easiest and fastest way to build your website or online store with zero coding, we’re here help you with our intelligent eCommerce solution - Ucraft Next.