Or Preview
And also the rest of that part
Heres the response tab
heres the preview tab
It's probably due to some database operations. But it will require <:appwrite:637383039499894787> core member approval
heres the rest of the headers tab
So no problem from the rate limit one
If it's happened randomly then it just make more sense that it has to something with DB operations as your code logic looks correct. Let's see what Steven would say
alright, thank you binyamin
I'll wait for Steven <:appwriterocket:823996226894692403>
Hello @Steven , sorry for tagging you, I want to know if you have knowledge of this error? :appwritecheers:
what's our project id?
the project id 64da8ed68873cbb8ec7b its on appwrite cloud
version 1.1.2
there's a bug with rate limits. can you put a slight delay between your 2 update calls?
Yes, like how many seconds would the delay be?
Also i have several functions that update documents at the same time, do I have to add the delay to everything?
you can try 5 ms and then increase if you're still seeing the problem. yes, they'll all need a delay at the moment
alright, is this a cloud-only problem?
ya i think we've fixed this in newer versions
Ok and a question, when will appwrite cloud be updated to new versions?
Soon
alright thanks steven
Steven I have a question
What happens if I have functions like this
const function = databases.createDocument(database, collection, id, {})
function.then(function(response) { // here the rest of the code })
do i have to add delay to the one inside the function response?
or not that one because it doesn't start until the one above is fulfilled
For example, in this there are two separate functions, not inside the then() and it causes the error and that is why I have to put the delay, but if I put them one after the other inside a then(// here the other function). Works?
No delay needed
Recommended threads
- AppwriteException: Invalid query: Query ...
```js console.log(typeof interaction.user.id) console.log(interaction.user.id) const user_check = await TablesDB.listRows({ databaseId: "db", ...
- unlike any other provider, your sites DN...
your nameservers dont work with a funny little CNAME error, which is a weird bug but thats what you get when you try to be the kitchen sink, funny errors.
- Weird Table Causes Console to break
I dont even know how this even happened looks like the $createdAt and , $id got switched? <@831428608895615056>