Skip to content
Back

What's the payload size limit for server functions?

  • 0
  • General
  • Functions
  • Cloud
manazo
9 Mar, 2024, 09:03

afaik, we can't send files to a server function. it's only strings that can be sent over there. but I really need to work with some files sent by users in a server function. so I'm wondering if I can convert the files to base64 string and then send it? well, in that case, the payload size will be big enough. that's why I'm wondering, what's the maximum payload size for server functions. I can't find any related info in the docs

TL;DR
Developers are unable to send files to a server function, only strings. To work with files, they can convert them to base64 strings before sending. The maximum payload size for server functions is not specified in the documentation.
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