Hello everyone! ππ»
For a (hobby) project I'd like to add 17500 documents to a collection. This is a one time thing. I tried to do it by using a Cloud function and executing it, but I'm being rate limited fairly quickly (understandable).
Since I'm using Appwrite Cloud, I cannot set _APP_OPTIONS_ABUSE as far as I know.
My question now is: How can I add these documents without being rate limited?
Solved.
What was the solution?
PS: no need to delete everything π
Now, I really want to know what was solved
Top secret
Lol
@memoonlite Closing this
What's the best way of inserting 17500 documents at once?
[SOLVED] What's the best way of inserting 17500 documents at once?
I restored my post. π It was a stupid mistake, I thought it's the best not to bother anyone with it.
I forgot to attach the API key to my function. π
Oh, It happened to me once too π
I tried to batch insert documents but I forgot to attach the API key to my function. π
No worries. We prefer to have posts with the solution so people searching for similar solutions find them π
Indeed, it's easy to make a small mistake! I'm glad it's working correctly now. π
Yes, glad to hear!
Adding to this: if you want privacy, you can delete it, we respect the decision too π But obviously it's more beneficial for the community the first option
Closing this since it's solved. Thanks @memoonlite for sharing it :appwriteheart:
True, but I felt a bit silly after I found out my mistake. π Either way: Thanks everyone for the replies in this tread. π
Well, this could happen to anyone, even people with more experience. In fact as said, happened to me π€£
No, it's fine to keep the post. π It might help someone in the future. I use the search function myself here on Discord a LOT as well and it helps me to find an answer to my question most of the time.
Recommended threads
- Issue with relations on database
I'm creating a food ordering website for businesses. I'm having issues with the relations on my database I attached the attributes for the collections I'm hav...
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems