Skip to content
Back

Failed to create function

  • 0
  • Web
nomaddev
9 Feb, 2026, 13:41

Hey everyone πŸ‘‹ I'm having an issue creating Functions on Appwrite Cloud and I'm not sure if it's a platform bug or something wrong in my project.

When I try to create a function, the console calls this endpoint:

https://nyc.cloud.appwrite.io/v1/functions/templates?runtimes=%5Bobject+Object%5D

And I receive this error:

400 - Invalid runtimes param: Value must be a valid array...

What I already tried:

  • Changed browsers
  • Cleared cache
  • Tested different runtimes in the UI
  • Same error keeps happening

It looks like the console is sending [object Object] instead of an array.

Project region: NYC Using Appwrite Cloud (not self-hosted)

Is anyone else experiencing this or knows a workaround? πŸ™

TL;DR
Issue: Error creating Functions on Appwrite Cloud due to invalid `runtimes` param. Attempted Solutions: - Changed browsers - Cleared cache - Tested different runtimes in the UI Error Message: 400 - Invalid `runtimes` param: Value must be a valid array. Workaround: The console is sending `[object Object]` instead of an array. Try identifying where this issue occurs in the code and adjust the format to send a valid array.
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