Back

Cloud Function Header Error

  • 0
  • Apple
  • Cloud
Picky Team
22 Aug, 2024, 16:59

Hey! we've got this error ReferenceError: headers is not defined at Module.default (file:///usr/local/server/src/function/src/main.js:12:14) at execute (/usr/local/server/src/server.js:157:48) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async action (/usr/local/server/src/server.js:174:13) at async /usr/local/server/src/server.js:10:9 anyone can help us with it ?

TL;DR
Developers encountering "ReferenceError: headers is not defined" in Cloud Function. The issue stems from missing defined headers in main.js file causing the error. To resolve, ensure headers are properly defined in main.js file.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more