Hey, I’m trying to deploy a Node.js function (via GitHub and also manually tested) and I keep getting this error during deployment:
Exception::__construct(): Argument #1 ($message) must be of type string, RenokiCo\PhpK8s\Kinds\K8sPod given
What I'm trying to do: I'm building a metadata ingestion function that loops through image files in an Appwrite storage bucket, extracts EXIF or PNG text metadata (e.g. prompt, model, software), and saves that info to a collection in the database. It works fine locally, but never even boots in Appwrite Cloud.
Details:
- Runtime: Node.js 18 (I also tried 22)
- Entrypoint:
src/main.js - Root directory:
. - Happens both with GitHub CI and manual deploy
- The function never initializes — looks like a platform-level issue with Appwrite Cloud (syd region)
Here’s the error URL: http://682c1f3a1997601381e6.syd.appwrite.run
Thanks in advance 🙏
Just to add — I’ve already double-checked that all environment variables (like APPWRITE_API_KEY, BUCKET_ID, DATABASE_ID, etc.) are correctly set in the function settings. So I don’t think this is an issue on my end with missing config.
Recommended threads
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- Database Write Limits hit
Hello Appwrite Admins, I'm a GitHub Education user, and about a week ago, my database was really badly optimized, resulting in about 600k writes in a single day...
- Help: Domain krtrim.tech Blocked on Fast...
Hi, I'm trying to add my domain krtrim.tech (and subdomain) in Appwrite, but I'm getting this error: Failed to add domain to Fastly: {"msg":"Bad request","deta...