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
- Updating GitHub App access throws error
Steps to reproduce - 1. Have some private repos allowed on the install access 2. New Site/Func > Connect GitHub > see the side card saying `Missing a repo` > cl...
- New Build not visible on Domain
I pushed some new code to my Appwrite Site and the build succeeded and is shown as active. Yet, I can only see the new version of the site on Appwrite's provide...
- DNS bug
Hello, we found bug at the Appwrite Cloud Domains, when changing **only ** the Comment of CNAME, we get error DNS record already exists. Some DNS types do not ...