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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- 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...