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

Read How to verify a contract on Etherscan/BscScan/PolygonScan for more details on how to verify.

You need to ensure you include all source code including imports and that all compilation details match. The recommendation is to use Hardhat since that makes things easier to verify.