# BSC Token Verification Error

**URL:** <https://forum.openzeppelin.com/t/bsc-token-verification-error/40028>\
**Category:** Contracts\
**Tags:** etherscan-verify\
**Created:** [March 27, 2024, 1:31pm UTC](https://forum.openzeppelin.com/t/bsc-token-verification-error/40028 "2024-03-27T13:31:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FossilGuy](https://avatars.discourse-cdn.com/v4/letter/f/9f8e36/32.png) [@FossilGuy](https://forum.openzeppelin.com/u/FossilGuy)\
**Post date:** [March 27, 2024, 1:31pm UTC](https://forum.openzeppelin.com/t/bsc-token-verification-error/40028/1 "2024-03-27T13:31:07Z")

</div>

Hello! I created my token on BSC and I am currently trying to verify the code on BSCScan:

```auto
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";

contract Token is ERC20 {
    constructor(uint256 initialSupply) ERC20 ("Token", "TKN"){
        _mint(msg.sender,initialSupply);
    }
}

```

But, when I try to verify, this error pops out:

 ![스크린샷 2024-03-27 101806](https://us1.discourse-cdn.com/flex022/uploads/zeppelin/original/3X/4/3/4363ac2d8f243ed0a0866162c0ca55b4c548137a.png)

---

<div class="post-metadata">

**Author:** ![DigiBullion](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@DigiBullion](https://forum.openzeppelin.com/u/DigiBullion)\
**Post date:** [July 2, 2024, 7:39pm UTC](https://forum.openzeppelin.com/t/bsc-token-verification-error/40028/2 "2024-07-02T19:39:44Z")

</div>

I had the same issue and finally found success. Flatten the file and verify with the flattened code. It worked for me.
