# Errors in contract verification

**URL:** <https://forum.openzeppelin.com/t/errors-in-contract-verification/30518>\
**Category:** Smart Contracts\
**Tags:** erc721, etherscan-verify\
**Created:** [July 19, 2022, 1:37pm UTC](https://forum.openzeppelin.com/t/errors-in-contract-verification/30518 "2022-07-19T13:37:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laugh](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/laugh/32/15751_2.png) [@Laugh](https://forum.openzeppelin.com/u/Laugh)\
**Post date:** [July 19, 2022, 1:37pm UTC](https://forum.openzeppelin.com/t/errors-in-contract-verification/30518/1 "2022-07-19T13:37:03Z")

</div>

**Hello** , after deploying my contract from **Remix** , I wanted to verify it via **EtherScan**. But at the end of the verification it gives me errors :

_**Error! Unable to generate Contract ByteCode and ABI (General Exception, unable to get compiled [bytecode])**_

```auto
ParserError: Source "@openzeppelin/contracts/token/ERC721/ERC721.sol" not found: File import callback not supported
 --> myc:5:1:
  |
5 | import "@openzeppelin/contracts/token/ERC721/ERC721.sol"
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ParserError: Source "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol" not found: File import callback not supported
 --> myc:6:1:
  |
6 | import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ParserError: Source "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol" not found: File import callback not supported
 --> myc:7:1:
  |
7 | import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ParserError: Source "@openzeppelin/contracts/utils/Counters.sol" not found: File import callback not supported
 --> myc:8:1:
  |
8 | import "@openzeppelin/contracts/utils/Counters.sol"
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ParserError: Source "@openzeppelin/contracts/access/Ownable.sol" not found: File import callback not supported
 --> myc:9:1:
  |
9 | import "@openzeppelin/contracts/access/Ownable.sol"
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ParserError: Source "@openzeppelin/contracts/security/ReentrancyGuard.sol" not found: File import callback not supported
  --> myc:10:1:
   |
10 | import "@openzeppelin/contracts/security/ReentrancyGuard.sol"
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

```

I looked on forums, or sometimes people just re copy the code and it works. But for me nothing I did check that everything was good and that Remix had no errors in the compilation but still the same problem.

If you have any solutions I'm interested, thanks to you

---

<div class="post-metadata">

**Author:** ![frangio](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/frangio/32/15251_2.png) [@frangio](https://forum.openzeppelin.com/u/frangio)\
**Post date:** [July 19, 2022, 1:37pm UTC](https://forum.openzeppelin.com/t/errors-in-contract-verification/30518/2 "2022-07-19T13:37:14Z")

</div>

Please refer to our guide on verification:

> [@How to verify a contract on Etherscan/BscScan/PolygonScan](https://forum.openzeppelin.com/t/how-to-verify-a-contract-on-etherscan-bscscan-polygonscan/14225):
>
> Make sure to read this post before asking a question about verification. If your issue is not addressed here, just leave a comment below. If you want to pay someone to do the verification for you, create a post in #Smart Contracts > Developer Wanted. This guide applies to [all Etherscan instances](https://etherscan.io/eaas), including all of the following as well as their testnet explorers: [etherscan.io](http://etherscan.io) (Ethereum) [bscscan.com](http://bscscan.com) (Binance Smart Chain) [polygonscan.com](http://polygonscan.com) (Polygon) [snowtrace.io](http://snowtrace.io) (Avalanche) Recommendations Prac…

---

<div class="post-metadata">

**Author:** ![frangio](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/frangio/32/15251_2.png) [@frangio](https://forum.openzeppelin.com/u/frangio)\
**Post date:** [July 19, 2022, 1:37pm UTC](https://forum.openzeppelin.com/t/errors-in-contract-verification/30518/3 "2022-07-19T13:37:19Z")

</div>

Closed on July 19, 2022, 1:37pm UTC


