What are the different errors sent by Infura Ethereum API?

Hi, I’m a student using Infura for a class project. I was wondering if you had a list of all possible errors that are returned by Infura? Here is one I got for example: "code":-32002,"message":"project ID does not have access to archive state","data":{"see":"https://infura.io/dashboard" I don’t see in docs. Thank you!

Hi @robbybarker and welcome to our community!

The message you are seeing is due to the fact that you have made a request for historical chain data, which is available with a subscription that includes the Archive Data add-on. You can read up on this in more details here: https://infura.io/docs/ethereum/add-ons/archiveData

Please DM me to discuss further if needed.

Thanks,
Michael