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
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...