I have a contract that I have deployed to both Ropsten and Fantom Mainnet. I want to try it with Polygon. I have plenty of Matic, the contract compiles, but when I try to deploy it I get the error:

Creation of Collection errored: Non-200 status code: '403'

Can anyone help me?

1 Answer 1


This error is probably not caused by the contract or the deployment.

non-200 status

When you contact the RPC to deploy you don't get an OK http 200 status. This mean that you can not connect to it.


the other code 403 if from the http protocol.


Your errors are related to the connection with the RPC endpoint your trying to connect to.

Double check your network settings.

  • Thanks for your feedback. What is weird to me, and I just tried it again now, is that I can take the same contract and deploy it on Ropsten and Fantom. It is just with Polygon for whatever reason I get this error. Commented Oct 27, 2021 at 5:36
  • Maybe check all the addresses your using. But again it has nothing to do with the actual deployment. You can't connect to the rpc to deploy your contract. Commented Oct 27, 2021 at 5:40
  • 1
    You were right. I changed the RPC to rpc-mainnet.maticvigil.com instead of rpc-mainnet.matic.network and I could deploy my contract. Thanks again! Commented Oct 27, 2021 at 6:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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