# Error! Unable to generate Contract ByteCode and ABI (General Exception, unable to get compiled \[bytecode\])-Macrophotography Token

**URL:** https://forum.openzeppelin.com/t/error-unable-to-generate-contract-bytecode-and-abi-general-exception-unable-to-get-compiled-bytecode-macrophotography-token/35475
**Category:** Smart Contracts
**Tags:** bep20, etherscan-verify
**Created:** [March 31, 2023, 10:52pm UTC](https://forum.openzeppelin.com/t/error-unable-to-generate-contract-bytecode-and-abi-general-exception-unable-to-get-compiled-bytecode-macrophotography-token/35475 "2023-03-31T22:52:51Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![CryptoWorld](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/cryptoworld/32/16709_2.png) [@CryptoWorld](https://forum.openzeppelin.com/u/CryptoWorld)
#### Post date: [May 11, 2023, 5:09pm UTC](https://forum.openzeppelin.com/t/error-unable-to-generate-contract-bytecode-and-abi-general-exception-unable-to-get-compiled-bytecode-macrophotography-token/35475/4 "2023-05-11T17:09:47Z")

</div>

It sounds like you are selecting the wrong compiler version.

And make sure to read [How to verify a contract on Etherscan/BscScan/PolygonScan - #46 by lu\_dr](https://forum.openzeppelin.com/t/how-to-verify-a-contract-on-etherscan-bscscan-polygonscan/14225/46). It contains a lot of good information about how to verify

---

_[View the full topic](https://forum.openzeppelin.com/t/error-unable-to-generate-contract-bytecode-and-abi-general-exception-unable-to-get-compiled-bytecode-macrophotography-token/35475)._
