Back

Function fails when calling any appwrite method

  • 0
  • Self Hosted
  • Functions
  • Web
discorrrdbomba
16 Apr, 2024, 05:45

Every template function (starter, urlShortener, …) breaks, as soon as some Appwrite method gets called inside its code.

As long as no appwrite method gets called like createDocument or so, everything is fine and I can return res.json(), res.send()…whatever I want and with ever status I want, it just works.

But as soon as I want to call for example await createDocument() ….—> 500

TL;DR
Developers are experiencing a function failure whenever calling any Appwrite method in their code. The function breaks whenever an Appwrite method like createDocument is used, resulting in a 500 error.
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