Back

Error 'Invalid token passed in the request' on updateRecovery()

  • 0
  • Self Hosted
  • Accounts
  • Web
  • Functions
rovolt.
26 Feb, 2024, 14:39

Hello, I'm implementing the password reset on my project using Appwrite account recovery. After requesting via createRecovery I'm calling updateRecovery with userId, secret and password (twice) and get the exception AppwriteException: Invalid token passed in the request.. Any idea? Please tell me that I didn't miss to call some auth function before again πŸ˜„

TL;DR
Error message 'Invalid token passed in the request' on updateRecovery() when implementing password reset with Appwrite account recovery. Make sure to check if you are passing the correct token in the request.
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