Bug Report: Appwrite Cloud Functions – ERR_INVALID_CHAR on Every Execution
- 0
- 1
- Functions
- Web
- Cloud
Bug Report: Appwrite Cloud Functions – ERR_INVALID_CHAR on Execution
Summary: There is a critical platform-level bug affecting Appwrite Cloud Functions in the Singapore region (sgp.cloud.appwrite.io). Every execution fails instantly with a TypeError [ERR_INVALID_CHAR] originating from the open-runtimes wrapper code, preventing user code from running.
Environment:
Plan & Region: Pro / SGP (Singapore)
Project ID: 6a40ae2b00108ba5efe5
Runtimes: node-20.0, node-22 (v5 Architecture)
Stack Trace:
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["append"] at ServerResponse.setHeader (node:_http_outgoing:703:3) at action (/usr/local/server/src/server.js:281:9) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async /usr/local/server/src/server.js:26:5 Key Details:
Platform Bug: The crash occurs at server.js:281 within 0.01s–0.3s, before the user handler ever executes.
Minimal Test Fails: A basic function returning only new Response("ok") with zero dependencies still triggers the exact same error.
100% Failure Rate: Affected across all 10 deployed functions in this project.
Successful Builds: Deployments and builds finish successfully; the crash only occurs upon execution.
Header Clue: The Node.js error flags "append", suggesting the open-runtimes wrapper is passing an invalid string or method name into response.setHeader().
Error Message: TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["append"] at ServerResponse.setHeader (node:_http_outgoing:703:3) at action (/usr/local/server/src/server.js:281:9) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async /usr/local/server/src/server.js:26:5
Recommended threads
- I’m facing an issue with deployments on ...
Hi Appwrite Support, I’m facing an issue with deployments on Appwrite Sites. A few days ago (around 3–4 days back), everything was working perfectly. My deplo...
- Appwrite Cloud project is paused and nev...
Hi Appwrite Team & Community, I am facing a problem with one of my Appwrite Cloud projects which seems to be identical to the other cases of "paused projects" ...
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...