# Unable to verify a contract on hardhat

**URL:** <https://forum.openzeppelin.com/t/unable-to-verify-a-contract-on-hardhat/6759>\
**Category:** Support\
**Created:** [April 4, 2021, 2:41pm UTC](https://forum.openzeppelin.com/t/unable-to-verify-a-contract-on-hardhat/6759 "2021-04-04T14:41:34Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Altaergo](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/altaergo/32/3853_2.png) [@Altaergo](https://forum.openzeppelin.com/u/Altaergo)\
**Post date:** [April 6, 2021, 4:19pm UTC](https://forum.openzeppelin.com/t/unable-to-verify-a-contract-on-hardhat/6759/9 "2021-04-06T16:19:16Z")

</div>

with this syntax for specifying the network, am still not getting anything

````auto
Nothing to compile
Compiling 1 file with 0.6.6
An unexpected error occurred:

TypeError: Cannot read property 'contracts' of undefined```
````

---

_[View the full topic](https://forum.openzeppelin.com/t/unable-to-verify-a-contract-on-hardhat/6759)._
