Error: Failed to start this transaction, as there is an active transaction at the moment

Error: Failed to start this transaction, as there is an active transaction at the moment.
This error is happening on the authorize() function of react native web app.

Hi @micahcb,

Thanks for your question.

I found this GitHub issue which suggests upgrading to the latest version of react-native-auth0 SDK.

If you haven’t, I suggest upgrading to the latest version, which has implemented a fix for this issue.

Kind regards,
Rueben

I saw that but am on react-native-auth0@4.4.0. I assumed that later versions would work but should I downgrade instead? As you can see in the screen shot. The error message is the same, and I console log the version (now 4.3.0 after downgrading).

Hi @micahcb,

Thanks for the update.

I see that you’ve gotten some help on GitHub regarding this issue. The suggested workaround is to use the cancelWebAuth API to cancel the existing iOS transaction.

For more details, please check out this reference: react-native-auth0/FAQ.md at master · auth0/react-native-auth0 · GitHub

If anything else comes up, please feel free to reach out.

Kind regards,
Rueben

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.