I created a post yesterday about how I was getting this error logging into my project—the error telling me I was unable to configure my session length to more than a day on the base plan. But my session length was not longer than a day! The issue was closed with a team member saying to test paid features on devnet, but this is not a paid feature. I created a brand new project on sapphire mainnet, adding only whitelabeled domains, and tried to login but this error came up.
Thank you for the detailed report, Max! Here’s a summary of your issue for the support team:
Issue Summary
- SDK Used: Web3Auth Plug n Play (PnP) – React SDK
- Platform: Web (React)
- Network: Sapphire Mainnet
- Issue: Error 1003 when logging into a brand new project on Sapphire Mainnet. The error message indicates a session length configuration issue (“unable to configure session length to more than a day on the base plan”), but your session length is set to 1 day or less.
- Project Setup: Brand new project, only whitelisted domains added, no other advanced/paid features enabled.
- Screenshots Provided: Yes (2 images attached in the original post)
- Related Documentation: You referenced the official Web3Auth React SDK docs.
Next Steps & Questions
To help the support team investigate further, could you please provide:
-
Web3Auth Initialization Code Snippet:
The section where you initialize and configure Web3Auth in your React project (especially if you’re explicitly setting session length anywhere). -
Browser Console Output:
If possible, a screenshot or copy-paste of the browser console when the error occurs. Sometimes the error object gives more context. -
SDK Version:
Which version of@web3auth/modal
(or related packages) are you using?
Initial Thoughts
- Session Length:
On the base plan, the session length should default to 1 day and cannot be increased. If you haven’t changed this setting, it could be a bug or a dashboard misconfiguration. - Network:
Paid features (like custom session length) are only available on paid plans or for testing on Devnet. However, you’re not using any paid features, so this error is unexpected on Mainnet.
References
Once you provide the initialization code and SDK version, the team can help debug further. Thank you for your patience, and we’ll work to resolve this quickly!
Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.
Additionally, we would recommend you to join our biweekly Office Hours to get this resolved even faster. Web3Auth Developer Office Hours
Are you setting the sessionTime explicitly to be exactly equal to one day?
I didn’t set anything explicitly, but it was preconfigured to exactly one day
I changed the session length to 23 hours and I still got the same error…
Bumping this. Still having this unexpected error