Skip to content
Back

OTP does not work on login page and user page

  • 0
  • Self Hosted
  • Auth
Zoker
25 May, 2025, 19:53

Hi there,

Since updating from 1.6.2 to 1.7.3 the OTP function does not work anymore. I always get this error:

TypeScript
Invalid otp param: Value must be a valid string and at least 1 chars and no longer than 256 chars

When I instead use the code send via email it works. I then removed it from my account and tried to re-add the OTP function and I get the same error. It seems that the otp token is not send in the request.

How can I fix this? Thanks!

TL;DR
Title: OTP issue after updating to 1.7.3 version Developers are experiencing an issue with the OTP function after updating from version 1.6.2 to 1.7.3. The error message states "Invalid otp param: Value must be a valid string and at least 1 chars and no longer than 256 chars." Using the code sent via email works, but the OTP token is not being sent in the request. Solution: The issue might be related to how the OTP token is being handled or passed in the request. Developers should check the OTP implementation in the updated version to ensure it is
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more