Error: No block found! (Moralis.Web3API.native.getNFTTransfersByBlock)

Hi there,
I am using the following code to fetch NFT transactions for each block. It was working okay, but now it doesn’t work with No block found (the block exists on Etherscan!)

const response = await Moralis.Web3API.native.getNFTTransfersByBlock(
options
);

How do you get the block number to pass into that getNFTTransfersByBlock?

If you subscribe to the block to get the number, you may need to wait a little until the API has caught up to the chain.