Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deployment Failed: project ID does not have access to archive state

I am trying to deploy my smart contract code in Infura using truffle, but this error has been raised

Deploying 'Migrations'
 ----------------------

 Error:  *** Deployment Failed ***

 "Migrations" -- Unknown Error: {"jsonrpc":"2.0","id":6,"error": {"code":-32002,"message":"project ID does not have access to archive state","data":{"see":"https://infura.io/dashboard"}}}
 {
  "originalError": {}
  }.

Any help

Thanks

like image 541
sheemar Avatar asked Oct 27 '25 07:10

sheemar


1 Answers

It is weird. I think it works if I skip the dry-run. But not sure why kovan-fork is not working. It was working yesterday.

You can change the network as you want

truffle migrate --network kovan --reset --skip-dry-run
like image 74
True Avatar answered Oct 29 '25 09:10

True