Back

Invalid `execute` param: Roles must be an array of strings.

  • 0
  • Self Hosted
  • Functions
  • Web
ideclon
4 Mar, 2024, 05:13

When calling functions.update() and setting execute to [], I get the error Invalid execute param: Roles must be an array of strings.

Can execute not be left blank?

Latest stable Node SDK, Self hosted v1.4.13

TL;DR
Developers are encountering an error stating "Invalid `execute` param: Roles must be an array of strings." when setting `execute` to `[]` in `functions.update()`. This error occurs because `execute` should be an array of strings, not left blank. The issue was found in the latest stable Node SDK, Self hosted v1.4.13.
Steven
4 Mar, 2024, 05:21

Should be able to 🧐

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