Not existing user token error

Hello! For some reason a simple code from here: Quick Start Guide - Backendless SDK for JavaScript API Documentation doesn’t working in my app. I get the error: Error: “Not existing user token - 3755A027-06C3-4C66-B74F-2F1E10D8628A. Relogin user to update your user token.” What am I doing wrong?

Hi @Vitaly_Khrushch

Welcome to the community and thank you for trying Backendless!

The error says that your current user token is invalid, in order to fix you’ve got two options:

  1. open the browser dev tool and clear the LocalStorage
  2. run the logout method to clear the current user token programmatically

Regards, Vlad

Clearing the LocalStorage worked, thank you!