It seems like I'm having trouble with receiving the email with the otp from appwrite services.
This is the general headers request:
Request URL
https://fra.cloud.appwrite.io/v1/account/tokens/email
Request Method
POST
Status Code
201 Created
This is the body request:
{
"userId": "my user id", // replaced
"email": "my personal email @gmail.com" // replaced
}
This is the response body:
{
"$id": "68a86b4736bf11211d96",
"$createdAt": "2025-08-22T13:06:15.224+00:00",
"userId": "my user id", // replaced
"secret": "",
"expire": "2025-08-22T13:21:15.224+00:00",
"phrase": ""
}
In fact yesterday it worked well and also the days before. Unfortunately today I'm not receiving the otp mail from appwrite as usual.
The implementation is js:
public readonly createEmailToken = async (
userId: string,
email: string,
): Promise<Models.Token> => {
try {
return await this._account.createEmailToken(userId, email);
} catch (error) {
this._logger.error('Failed to create email token:', error);
throw error;
}
};
dependency: "appwrite": "^18.2.0".
Is there something I can check to have an idea of the issue?
Recommended threads
- Flutter OAuth2 does not attach Google se...
Hi Appwrite team, I’m using Appwrite Auth in a Flutter mobile app and trying to upgrade an anonymous user to Google OAuth. Docs say that if there is already a...
- Bug report: Race condition in Flutter SD...
Hi team, I've found an intermittent bug in the Flutter SDK (v20.3.0) when using `createOAuth2Session` on Android. **Symptoms** After `createOAuth2Session` re...
- Register Disable
this is possible disable register but keep oauth login?