Back

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

  • 0
  • Auth
Niborium
1 May, 2024, 08:51

Activated MFA on my account after setting up AppWrite on a digital ocean droplet. But when i try to delete MFA or regenerate recovery codes (with valid numbers) i only get:

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

Tried to search for relevant but did not find anything. Anyone has any theory?

path: /console/account Section: Multi-factor authentication

So adding MFA with Google Authenticator app worked and see Appwrite:myemail and the code.
But when entering and try to delete MFA or regenerate recovery codes i get above error message.

Using image: Appwrite 1.4 on Ubuntu 22.04 (DigitalOcean Droplet)

Thanks in advance and hopefully someone can help me. Would be nice to have MFAs to secure my admin account.

TL;DR
Developers are encountering an "Invalid `otp` param" error message when trying to delete or regenerate MFA codes in AppWrite on DigitalOcean. The issue may stem from an incorrect value/format of the OTP parameter. To resolve, ensure the OTP value is a valid string within the specified character limit. This will allow for successful deletion/regeneration of MFA codes.
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