yes cloud functions, how to fix
don't send that much data
Suppose I have a database to work with and I need to process thois econtacts via functions. Any idea?
*contacts
if you need to send something that large, it should be a file and not trying to upload a gigantic JSON body.
however, a better approach would be to break it down and process it chunk by chunk
ok I ma getting this error while sending 3k objects
Thanks I will try that
how big is the actual JSON payload?
vary based on filter in custom databse
can be from 3k -20k
Are you saying that many objects or that many bytes?
We will be sending some sms with appwrite functions
objects
one customer 1 obj
I'm asking for bytes
That has to be checked
whats the limit?
honestly i don't even know what's returning that 413
regardless, you really should be sending less data and doing less work
it's best to have functions finish as quick as possible
the longer you have functions running, the more likely something wrong can happen
ok suppose I have a list of 10k users can I fetch those directly in functions and in loop process?
My app is react based app and I want to handle the processing of users through functions
I am using functions like rest api
sure...but i would try to minimize how long the function runs per execution
Recommended threads
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Function in Node.JS to monitor events ar...
Hello everyone. I'm creating my first Node.JS function, but I don't have much experience with node and javascript. I'm trying to create a function, that monito...
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...