Back to All

Getting error while triggering a transaction

I am getting a Network Error while triggering a transaction. The flow is as follows.

  1. User login with Smallcase SDK.
  2. Got the Smallcase Auth token.
  3. User changes the auth token in the cookies and refreshes the page.
  4. User clicks on the login button as we already have Smallcase auth token we have initialized the SDK (with the invalid token).
  5. The initialization fails, so we have asked the user to log in again.
  6. When the user tries to log in we are going Network Error at the triggerTransaction method of SDK. Moreover, it's not showing any error info except Network Error.

Can you help us to resolve this issue?