how can I verify a proxy contract on polygon amoy testnet with Hardhat? When I run the verify command, I get the following error, so I can't verify:
Etherscan API call failed with status 404, response: {"code":404,"msg":"","error_code":"404","error_message":"","detailMsg":"","data":{"timestamp":1712163082073,"status":404,"error":"Not Found","trace":"java.lang.NullPointerException: Cannot invoke \"String.toLowerCase()\" because the return value of \"java.util.Map.get(Object)\" is null...
I have prepared the minimal code needed to reproduce the error here. https://github.com/keit0728/cannot-verify-on-amoy
It would be helpful if you could run this command and check it.
npx hardhat run scripts/deploy.js --network polygonAmoy