# RPC call Failed

**URL:** <https://forums.sui.io/t/rpc-call-failed/45196>\
**Category:** General\
**Created:** [January 13, 2024, 5:22pm UTC](https://forums.sui.io/t/rpc-call-failed/45196 "2024-01-13T17:22:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sui\_apprentice](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sui\_apprentice](https://forums.sui.io/u/sui_apprentice)\
**Post date:** [January 13, 2024, 5:22pm UTC](https://forums.sui.io/t/rpc-call-failed/45196/1 "2024-01-13T17:22:15Z")

</div>

When i try to publish my code. Code is very simple code. I can build without problem but to publish i get this RPC call failed. I have tried to change IDE but no way i get this message yet.  
I’m stuck with this error message :

```auto
RPC call failed: ErrorObject { code: ServerError(-32002), message: "Transaction execution failed due to issues with transaction inputs, please review the errors and try again: TransferObjects, MergeCoin, and Publish cannot have empty arguments. If MakeMoveVec has empty arguments, it must have a type specified.", data: None }

Caused by:
    RPC call failed: ErrorObject { code: ServerError(-32002), message: "Transaction execution failed due to issues with transaction inputs, please review the errors and try again: TransferObjects, MergeCoin, and Publish cannot have empty arguments. If MakeMoveVec has empty arguments, it must have a type specified.", data: None }

```

```auto
gitpod /workspace/dtest/test (main) $ sui client active-env
mainnet

```

---

<div class="post-metadata">

**Author:** ![Thinking0](https://avatars.discourse-cdn.com/v4/letter/t/5e9695/32.png) [@Thinking0](https://forums.sui.io/u/Thinking0)\
**Post date:** [January 13, 2024, 10:11pm UTC](https://forums.sui.io/t/rpc-call-failed/45196/2 "2024-01-13T22:11:51Z")

</div>

What are you trying to do that lead to the error ?

---

<div class="post-metadata">

**Author:** ![sui\_apprentice](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sui\_apprentice](https://forums.sui.io/u/sui_apprentice)\
**Post date:** [January 14, 2024, 8:07am UTC](https://forums.sui.io/t/rpc-call-failed/45196/3 "2024-01-14T08:07:06Z")

</div>

I simply tried to publish my program after building it

---

<div class="post-metadata">

**Author:** ![fastfrank](https://dub1.discourse-cdn.com/sui/user_avatar/forums.sui.io/fastfrank/32/1138_2.png) [@fastfrank](https://forums.sui.io/u/fastfrank)\
**Post date:** [January 14, 2024, 9:59am UTC](https://forums.sui.io/t/rpc-call-failed/45196/4 "2024-01-14T09:59:10Z")

</div>

Show us the publish command you used  
Also do a `sui client gas` and show how much Sui you have

---

<div class="post-metadata">

**Author:** ![sui\_apprentice](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sui\_apprentice](https://forums.sui.io/u/sui_apprentice)\
**Post date:** [January 16, 2024, 3:57pm UTC](https://forums.sui.io/t/rpc-call-failed/45196/5 "2024-01-16T15:57:17Z")

</div>

sui client publish --gas-budget 1000000000

and i have gas, i am set on the right mainnet RPC, i have tried other mainnet RPC

---

<div class="post-metadata">

**Author:** ![sui\_apprentice](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@sui\_apprentice](https://forums.sui.io/u/sui_apprentice)\
**Post date:** [January 16, 2024, 3:57pm UTC](https://forums.sui.io/t/rpc-call-failed/45196/6 "2024-01-16T15:57:50Z")

</div>

publish bro sui client publish --gas-budget 1000000000

---

<div class="post-metadata">

**Author:** ![fastfrank](https://dub1.discourse-cdn.com/sui/user_avatar/forums.sui.io/fastfrank/32/1138_2.png) [@fastfrank](https://forums.sui.io/u/fastfrank)\
**Post date:** [January 18, 2024, 12:17pm UTC](https://forums.sui.io/t/rpc-call-failed/45196/8 "2024-01-18T12:17:40Z")

</div>

And you are doing this from the contract project folder (otherwise you’ll need to add the path to the project folder (not the `sources` folder)

---

<div class="post-metadata">

**Author:** ![aoooooe](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@aoooooe](https://forums.sui.io/u/aoooooe)\
**Post date:** [September 23, 2024, 1:50pm UTC](https://forums.sui.io/t/rpc-call-failed/45196/9 "2024-09-23T13:50:11Z")

</div>

excuse me sir do you solve your problem i face the same problem can you help me

---

<div class="post-metadata">

**Author:** ![aoooooe](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@aoooooe](https://forums.sui.io/u/aoooooe)\
**Post date:** [September 23, 2024, 2:56pm UTC](https://forums.sui.io/t/rpc-call-failed/45196/11 "2024-09-23T14:56:24Z")

</div>

thanks you very much
