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.

| improve this question | | | | |
  • can you provide the actual code library and contract that fail abd your mìgration file? – haxerl Apr 2 '19 at 12:42
  • I received the same error message. Then I tried to deploy the contract again and it worked. – Adam Schmideg Apr 3 '19 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. – Banana Cake Apr 3 '19 at 9:10

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

| improve this answer | | | | |

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

| improve this answer | | | | |

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.