All Collections
FAQs and Troubleshooting
“CSRF token” error message
“CSRF token” error message

Follow these steps if you see a CSRF error message when logging into your Ubidots account.

David Sepúlveda avatar
Written by David Sepúlveda
Updated over a week ago


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, but also by the browser itself if it's not allowed to set cookies.

To address this issue, follow these steps.

Chrome (Phone or PC)

  1. Open Chrome Settings.

  2. In the Privacy and security section, click on “Clear browsing data”.

  3. Check “Cookies and other site data”, and uncheck the rest.

  4. Click on “Clear data”.

  5. Reload Chrome and log into your Ubidots account.

If this doesn't work, try disabling your installed extensions (only on PC). Browser extensions or add-ons can sometimes interfere with website functionality.

Firefox

  1. Go to Firefox's top right corner menu -> Settings -> Privacy & Security menu.

  2. Go to Cookies and site data section.

  3. There are two options:

    1. Click on “Clear data”, check only “Cookies and site data”, then click “Clear”.

    2. Click on “Manage data”, search for Ubidots, click on “remove everything shown”, then click “Save changes”.

  4. Reload Firefox and log into your Ubidots account.

Note

If this alone won't help, please enable third-party cookies in the menu mentioned in point 2.

Safari

On Mac:

  1. Open Safari Preferences from the drop-down menu in the navigation bar or by typing Cmd + , (⌘,).

  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 “Ubidots” and remove all Ubidots-related entries.

  5. Reload Safari and log into your Ubidots account.

On iPhone or iPad:

  1. Close the Safari app.

  2. Go to your device “Settings”.

  3. Go to “Safari” -> “Clear History and Website Data”.

  4. Select a Period to erase. You could try the most recent period first, and increase it if it is still not working. Note: This will clear all your history and data, not only the ones related to Ubidots.

  5. Push the “Erase history” button.

  6. Open the Safari app.

  7. Refresh the page and log into your Ubidots account.

If you continue to see the same problem after doing this, please contact support through the email provided by your account executive, or through the in-app channel.

Did this answer your question?