Error: Returned error: project ID does not have access to archive state

I’m trying to read a smart contract variable and getting an error:

Error: Returned error: project ID does not have access to archive state

How can we determine if information can be read from blockchain or ‘Archive Data’ add on is needed?
Does it mean that a variable that was changed n blocks before can be read, and n+1 block requires add on?

Hi @ageyev, check out the documentation here, https://infura.io/docs/ethereum/add-ons/archiveData, this helps explain what types of requests require Archive Data.

@mike, thank you very much !