
Hey @Support , I’m running a serverless function in Appwrite Cloud that sends emails using Google OAuth (nodemailer + googleapis). The same code works perfectly when tested locally, but in Appwrite Cloud, I keep getting this error:
Error sending email: Error: invalid_grant
I’ve already checked:
My client_id, client_secret, and refresh_token are correct.
The refresh token is working locally.
The Appwrite function’s environment variables are set correctly.
The function is running in the latest Node.js runtime.
Recommended threads
- Confused whether to use GDrive or Appwri...
I am making a blogging site. right now I'm using GDrive to host the blog post's banner + inline images. my thinking was that since GDrive has 15GB storage I sho...
- getting error while creating membership
i am getting some errors what is the correct way to write this? i am using react and appwrite
- Filter a DateTime attribute
Is it possible to filter a DateTime attribute by only the month and day (e.g., -02-15)?
