NomicLabsHardhatPluginError: Invalid API Key at verifyContract - When deploying contract #1214
-
Getting some sort of Invalid API key at verifyContract error, I've double checked that all my etherscan API key is correct. ERROR:
These are the three API key tokens that exist on my etherscan account:
|
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 32 replies
-
Hi @SarthakThakur0097 |
Beta Was this translation helpful? Give feedback.
-
I ran into the exact same problem It seems to be an API issue on Etherscans end. They have a banner on their page regarding the issue: "We are investigating an issue affecting the API services and the team is working to resolve this." |
Beta Was this translation helpful? Give feedback.
-
@SarthakThakur0097 Please follow this guide when you next time ask a question. How to Ask Question Guide You should check your etherscan API key is correct, and this is added in the hardhat.config file etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY,
}, |
Beta Was this translation helpful? Give feedback.
-
i am also facing the same problem, I tried with both test networks (rinkeby and ropsten). |
Beta Was this translation helpful? Give feedback.
-
Looks like it's a problem on etherscan's end. i also face the same issue and it seems like a lot of us are facing this issue within the same timeframe |
Beta Was this translation helpful? Give feedback.
-
Issue seems to be resolved now, seems like it was an issue on etherscan's end, my hardhat.config is available to view on my repositories if anyone wants to compare. |
Beta Was this translation helpful? Give feedback.
-
Issued resolved for me |
Beta Was this translation helpful? Give feedback.
-
Coming back from 2023 and suddenly the issue returned. Ill wait for any Etherscan update then. |
Beta Was this translation helpful? Give feedback.
-
verifying contract... |
Beta Was this translation helpful? Give feedback.
-
我擦,这个问题,我看了一下午,终于解决了, I wiped it. I looked at this problem all afternoon and finally solved it, |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Looks like it's a problem on etherscan's end. i also face the same issue and it seems like a lot of us are facing this issue within the same timeframe