Back

createEmailPasswordSession returns an invalid_error

  • 0
  • Auth
  • Web
  • Cloud
Dave
12 May, 2024, 21:56

I am currently facing an issue which is only happening to one of my testers. When she tries to sign in using email and password on both her phone and system, it throws an error.

Signing up with email and password returns an invalid_parameters error, but it works for other people.

I have tried to replicate it locally and in production but I have not been able to do it.

It works for other users and it's just her. I have tried to find out what's wrong but I don't know

TL;DR
Issue: The developer is facing an `invalid_parameters` error specifically from the `createEmailPasswordSession` function when a tester tries to sign in. This is happening only for one user, while it works for others. Replication in local and production environments failed. Solution: Check the request's response body to determine the specific error details. Debug the email and password authentication flow for any inconsistencies or user-specific issues.
Steven
12 May, 2024, 21:57

What's the response body of 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