# Error: Response errors; InputInvalidSignature { index: 0 }

**URL:** https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201
**Category:** General
**Created:** [March 30, 2023, 8:06pm UTC](https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201 "2023-03-30T20:06:34Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Puishoanton](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/puishoanton/32/1223_2.png) [@Puishoanton](https://forum.fuel.network/u/Puishoanton)
#### Post date: [March 30, 2023, 8:06pm UTC](https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201/1 "2023-03-30T20:06:34Z")

</div>

![Screenshot 2023-03-30 152948](https://us1.discourse-cdn.com/flex022/uploads/fuel/original/2X/e/ecce17fb49073bbe4cb1d91fef73808c71a93a52.png)  
It looks like an incorrect signature. The response is empty. How to solve it?

---

<div class="post-metadata">

### Author: ![sarah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sarah/32/13_2.png) [@sarah](https://forum.fuel.network/u/sarah)
#### Post date: [April 1, 2023, 7:59pm UTC](https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201/2 "2023-04-01T19:59:22Z")

</div>

Can you share the full steps to reproduce this?

---

<div class="post-metadata">

### Author: ![Puishoanton](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/puishoanton/32/1223_2.png) [@Puishoanton](https://forum.fuel.network/u/Puishoanton)
#### Post date: [April 2, 2023, 5:45pm UTC](https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201/3 "2023-04-02T17:45:25Z")

</div>

1. sudo apt-get update && sudo apt-get install -y && apt install curl -y && apt install git -y
2. curl --proto ‘=https’ --tlsv1.2 -sSf [https://install.fuel.network/fuelup-init.sh](https://install.fuel.network/fuelup-init.sh) | sh
3. export PATH=“${HOME}/.fuelup/bin:${PATH}”
4. curl --proto ‘=https’ --tlsv1.2 -sSf [https://sh.rustup.rs](https://sh.rustup.rs/) | sh
5. source “$HOME/.cargo/env”
6. mkdir fuel && cd fuel
7. forc new counter-contract
8. vim counter-contract/src/main.sw
9. I’m changing contract: contract;

storage {  
counter: u64 = 0,  
}

abi Counter {  
#[storage(read, write)]  
fn increment();

```
#[storage(read)]
fn count() -> u64;

```

}

impl Counter for Contract {  
#[storage(read)]  
fn count() → u64 {  
storage.counter  
}

```
#[storage(read, write)]
fn increment() {
    storage.counter = storage.counter + 1;
}

```

}  
10. cd fuel  
11. fuelup self update  
12. fuelup toolchain install beta-3  
13. fuelup default beta-3  
14. fuelup component add forc@0.35.3  
15. forc deploy --node-url beta-3.fuel.network/graphql --gas-price 1 --random-salt  
16. cd fuel/counter-contract  
17. export PATH=“${HOME}/.fuelup/bin:${PATH}”  
18. forc-wallet account 0 sign tx-id  
19. forc deploy --node-url beta-3.fuel.network/graphql --gas-price 1 --random-salt

---

<div class="post-metadata">

### Author: ![sarah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sarah/32/13_2.png) [@sarah](https://forum.fuel.network/u/sarah)
#### Post date: [April 2, 2023, 6:08pm UTC](https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201/4 "2023-04-02T18:08:13Z")

</div>

What are the steps you are using to sign the tx though?

---

<div class="post-metadata">

### Author: ![Puishoanton](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/puishoanton/32/1223_2.png) [@Puishoanton](https://forum.fuel.network/u/Puishoanton)
#### Post date: [April 2, 2023, 6:21pm UTC](https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201/5 "2023-04-02T18:21:57Z")

</div>

forc deploy --node-url beta-3.fuel.network/graphql --gas-price 1 --random-salt

here I put my fuel address, next two times pressed enter

and here I put the transaction id from the command above

---

<div class="post-metadata">

### Author: ![sarah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sarah/32/13_2.png) [@sarah](https://forum.fuel.network/u/sarah)
#### Post date: [April 3, 2023, 2:23pm UTC](https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201/6 "2023-04-03T14:23:43Z")

</div>

Are you using this command to sign the tx?

```auto
forc wallet sign --account <ACCOUNT_INDEX> tx-id <TX_ID_HERE>

```

---

<div class="post-metadata">

### Author: ![Puishoanton](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/puishoanton/32/1223_2.png) [@Puishoanton](https://forum.fuel.network/u/Puishoanton)
#### Post date: [April 3, 2023, 4:35pm UTC](https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201/7 "2023-04-03T16:35:35Z")

</div>

where can I get \<ACCOUNT\_INDEX\>?

---

<div class="post-metadata">

### Author: ![sarah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sarah/32/13_2.png) [@sarah](https://forum.fuel.network/u/sarah)
#### Post date: [April 5, 2023, 2:19pm UTC](https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201/8 "2023-04-05T14:19:15Z")

</div>

You can use `forc-wallet accounts` to list your accounts and their index

---

<div class="post-metadata">

### Author: ![Puishoanton](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/puishoanton/32/1223_2.png) [@Puishoanton](https://forum.fuel.network/u/Puishoanton)
#### Post date: [April 5, 2023, 5:36pm UTC](https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201/9 "2023-04-05T17:36:17Z")

</div>

yes I signed with this command and still same problem.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex022/uploads/fuel/original/2X/5/57d5a345cc15a64b636e0d56e042857f8a0e80b1.png) [@system](https://forum.fuel.network/u/system)
#### Post date: [May 21, 2023, 11:54am UTC](https://forum.fuel.network/t/error-response-errors-inputinvalidsignature-index-0/2201/10 "2023-05-21T11:54:13Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
