
can you share your code?

could you provide your email so i can send it via my password manager

password manager? for your code?

i mean the script you're using to import the data

You can paste it here

was this the original code that was executed that lead to the block?

should be, dont think ive changed it since

ah i see now. So since you're not await
ing sendBatch([...documents]);
, it's not actually done in batches and they're all done at once

you can increase CREATE_BATCH_SIZE
to a couple hundred and lower RATE_LIMIT_DELAY
. play around with the numbers to see what works best

i see now, ok so something like this should resolve the issue?

ya give that a go

cool i think i can work with this, thank you

[CLOSED] 401 Access to this resource is blocked.

did you change the code about 15 minutes ago?

hey i left the program running, left work 2 hours ago

it looked like it was about done when i left shouldn't have been executing still when you specific 15 minutes ago

unless theirs a issue with the code

ill try to remote into my workstation and see if i can stop it

cant remote in, if its causing a issue with spamming the endpoint I apologize you can block the account if needed and when i get back to work tomorrow i can request it to be unblocked

your project was blocked and then i unblocked it

gotcha i appreciate it, it shows on the console Database 877K Documents though before i left my program showed it added 1.6 million documents so there is likely a issue with my program, if it causes any other issues dont worry about unblocking it until im back in office tommorrow and ill check the logs to see whats going on

looks like my program may be resuming after you unblocked as the documents are going up in the console so thank you

are you looking at the stats. it might be delayed or something

it looks like it just hit 1M is that correct?

Recommended threads
- transaction like functionality
As I understand it appwrite doesn't support transactions. I'm attempting to make a document in three separate collections at the same time when a user register...
- Error while login the member which is in...
Facing some error. Error logging in: Exception: No team access. Please contact your administrator. But the email/name/ new client I have created is in my tea...
- Document already existed
Hi, I am trying to add a document via cloud function using nodejs22. Everytime I do `await db.createDocument( dbid, collectionid, customDocId, data);` it will g...
