I'm deploying some contract to Ropsten ethereum test network using Truffle but it gave me this error:

Error: legacy access request rate exceeded

I have no idea what does it means and what should I do with it. Before I migrated the contract to my local blockchain and it worked.

I migrate 2 contracts and 1 library. 1 contract passes correctly, but library fails and contract using library fails as well.

  • can you provide the actual code library and contract that fail abd your mìgration file?
    – haxerl
    Apr 2, 2019 at 12:42
  • I received the same error message. Then I tried to deploy the contract again and it worked. Apr 3, 2019 at 7:45
  • this is the library and the contract is simple contract using this library. But it fails only sometimes and even when it fails, it is deployed, so Im confused. Apr 3, 2019 at 9:10

2 Answers 2


there! I had a same error, and i created new infura project to get new token, then it went well!

reference: https://community.infura.io/t/legacy-key-deprecation/443


Infura updated their API a few days ago. That is causing this error.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.