Hello! I’m trying to use Infura to host NFTs using the Metaplex platform configured to use IPFS as host, but after only 100 files uploaded it starts to return a “Too many requests” error and stop to upload them. Any idea on how to avoid this error? What are the exact limit to respect? Thanks!
Hi @Chripto and welcome to the Infura community!
If you are using /api/v0/add there is a 10 min timeout.
Unfortunately, our backend has a significant overhead after the upload finish to process what was uploaded. This overhead count within the 10 minutes so that might have been what happened.
Let me know if you are able to account for that in your project and fix the issue.
Hello @Chripto, I have received a possible solution in regards to the Metaplex issue from our user:
Please go into ~/metaplex/js/packages/cli/src/helpers/upload/ipfs.ts and change the sleep value on Line 62 from 500 to about 5000 or more.
I hope that will work in your case as well!