# Internal JSON-RPC error. { "code": -32000, "message": "execution reverted" } on BSC testnet

**URL:** <https://forum.openzeppelin.com/t/internal-json-rpc-error-code-32000-message-execution-reverted-on-bsc-testnet/10274>\
**Category:** Contracts\
**Created:** [June 10, 2021, 5:50pm UTC](https://forum.openzeppelin.com/t/internal-json-rpc-error-code-32000-message-execution-reverted-on-bsc-testnet/10274 "2021-06-10T17:50:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GandalfTheGrey](https://avatars.discourse-cdn.com/v4/letter/g/5fc32e/32.png) [@GandalfTheGrey](https://forum.openzeppelin.com/u/GandalfTheGrey)\
**Post date:** [June 10, 2021, 5:50pm UTC](https://forum.openzeppelin.com/t/internal-json-rpc-error-code-32000-message-execution-reverted-on-bsc-testnet/10274/1 "2021-06-10T17:50:42Z")

</div>

I have made a token which has no errors on solidity, but every time I try to launch it on the BSC testnet I get this error. Any thoughts on how to fix this?

Internal JSON-RPC error. { “code”: -32000, “message”: “execution reverted” }

---

<div class="post-metadata">

**Author:** ![FreezyEx](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/freezyex/32/5498_2.png) [@FreezyEx](https://forum.openzeppelin.com/u/FreezyEx)\
**Post date:** [June 10, 2021, 5:52pm UTC](https://forum.openzeppelin.com/t/internal-json-rpc-error-code-32000-message-execution-reverted-on-bsc-testnet/10274/2 "2021-06-10T17:52:48Z")

</div>

Please before making a new topic, search on the forum.

> [@How to fix: "Gas estimation errored with the following message (see below)". \[Safemoon Fork\]](https://forum.openzeppelin.com/t/how-to-fix-gas-estimation-errored-with-the-following-message-see-below-safemoon-fork/8577):
>
> [image] I read many people asking for this problem so now I try to fix their issue once and for all. 99% of the times this error is caused by the wrong router address of Pancakeswap. If you are on testnet use this: 0xD99D1c33F9fC3444f8101754aBC46c52416550D1 If you are on mainnet use this: 0x10ED43C718714eb63d5aA57B78B54704E256024E If after changing it you still get the error, clean cookies and cache. Are you still getting this error? Well open a topic and share your code and your problem. …

> [@Internal JSON-RPC error on Remix](https://forum.openzeppelin.com/t/internal-json-rpc-error-on-remix/8721):
>
> computer Environment Remix :memo:Details Code compilations completes successfully, but when i try to deploy my contract, i get this error: Internal JSON-RPC error. { “code”: -32000, “message”: “execution reverted” } Metamask is set to BSC-TestNet correctly with 1.2 BNB balance, and i hard-coded PCS-Testnet router address in the code. 1234 Code to reproduce [https://pastebin.com/raw/8BXg3Zip](https://pastebin.com/raw/8BXg3Zip)

---

<div class="post-metadata">

**Author:** ![Amir\_sherif\_Mohammed](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/amir_sherif_mohammed/32/6221_2.png) [@Amir\_sherif\_Mohammed](https://forum.openzeppelin.com/u/Amir_sherif_Mohammed)\
**Post date:** [June 15, 2021, 6:30pm UTC](https://forum.openzeppelin.com/t/internal-json-rpc-error-code-32000-message-execution-reverted-on-bsc-testnet/10274/3 "2021-06-15T18:30:17Z")

</div>

i am trying to deploy the code on matic i get the same errors …plese tell me how to solve it
