Double check that all the fields in the data are correct.
I did tried it and now its not giving the error
But still, not all the expected queries are done
and also, it takes too long to clear all queries
It will be a bit hard to debug it without being able to see the code-flow.
Its something like inside a loop
I'll need to see and get the big picture
and in loop, all the queries are made
Can you create a redacted version of it.
How many queries & executions inside one-loop cycle? And what is the total cycles of the loop?
Maybe around 25-30 queries
but in real world it will be far more
So it best to have some way to see the code to get a grasp of the process.
Well, is there any rate limit on it
Not if you're using API key.
The code will be doing about 150 or more db create queries per function call
Yes, its using api key as its cloud function
Then you won't hit the rate limit.
This wouldnt be a issue right?
Nope
no doubt, calling the function wont be a common thing, it will be preety rare thing
Thanks a lot, now closing it
Server error [Closed]
[Closed] Server error
[SOLVED] Server error
Recommended threads
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I canโt fin...
- Triggers and call function in function p...
Hello, Today we are experiencing several issues with Appwrite Cloud. Functions triggered by events, or functions called from another function, are taking an e...
- Functions executed by events does not ap...
Hello, Running self-hosted Appwrite version 1.9.0 (with console 7.8.26). When functions are triggered by an event (eg. databases.\*tables.\*.rows.\*.create) doe...