getNFTOwners returns "Request failed: timeout of 10000ms" after consecutive calls

This is my code

const getPage = async (cursor: string | undefined = undefined) =>
    await Moralis.EvmApi.nft.getNFTOwners({
        address, chain,
        format: `decimal`,
        limit: 100, cursor
    });

const getCollectionSnapshot = async () => {
   
    const firstPage = await getPage();
    const totalPages = Math.ceil(firstPage.raw.total / firstPage.raw.page_size);
    const pages = [firstPage];
    let cursor = firstPage.raw.cursor;

    for (let i = 2; i <= totalPages; i++) {
        const page = await getPage(cursor);
        pages.push(page);
        cursor = page.raw.cursor;
        await new Promise(resolve => setTimeout(resolve, 200));
    }
}

I have the free plan, 25 CU * second is the rate, and the nft owner API should weigh 5CU, I don’t understand why I’m getting the following error after some calls (like 10/15, the number changes)

MoralisError [Moralis SDK Core Error]: [C0006] Request failed: timeout of 10000ms exceeded

for what parameters you get that error, it may be related to the parameters

{
        address: '0x08aBED322775731D7B75DbdFe6151dc39ad83800', 
        chain: EvmChain.ETHEREUM,
        format: `decimal`,
        limit: 100, 
        cursor
    }

here is seems to work without issue: https://docs.moralis.io/reference/getnftowners

did it work for any requests? maybe is something blocking the network connection?

It works but after some consecutive calls, done 250ms after each other, the endpoint gives that error

when you get that error, if you retry, it works?

No, it stops working after 10/15 calls

can you try with a simple api call, like get version?

get version works, getNFTOwners stops working after ~10 consecutive calls, every call is done 200ms after the previous one. I tried doing some tests this morning, same code as yesterday and same params, now Moralis in not giving errors… I’m confused

Now it works as expected?