# Something wrong when contract call

**URL:** <https://forum.fuel.network/t/something-wrong-when-contract-call/6092>\
**Category:** TypeScript SDK\
**Tags:** testnet, feedback\
**Created:** [June 29, 2024, 12:40pm UTC](https://forum.fuel.network/t/something-wrong-when-contract-call/6092 "2024-06-29T12:40:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sssshello](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sssshello/32/3320_2.png) [@sssshello](https://forum.fuel.network/u/sssshello)\
**Post date:** [June 29, 2024, 12:40pm UTC](https://forum.fuel.network/t/something-wrong-when-contract-call/6092/1 "2024-06-29T12:40:47Z")

</div>

I am a beginner and I want to learn how to call contract functions on Fuel.These contracts were not deployed by me.

When I call these contract functions, I receive the following error message, I cannot sign the tx:

> \_FuelError: Invalid transaction data: Validity(InputInvalidSignature { index: 2 })  
> at \_FuelGraphqlSubscriber.next (E:\FileStore\Web3\Function\_Script\Fuel\_Testnet\node\_modules@fuel-ts\account\dist\index.js:1235:17)  
> at process.processTicksAndRejections (node:internal/process/task\_queues:95:5)  
> at async \_Provider.sendTransaction (E:\FileStore\Web3\Function\_Script\Fuel\_Testnet\node\_modules@fuel-ts\account\dist\index.js:4299:41)  
> at async FunctionInvocationScope.call (E:\FileStore\Web3\Function\_Script\Fuel\_Testnet\node\_modules@fuel-ts\program\dist\index.js:847:22)  
> at async E:\FileStore\Web3\Function\_Script\Fuel\_Testnet\Fuel\_Learn.js:1475:22 {  
> VERSIONS: { FORC: ‘0.60.0’, FUEL\_CORE: ‘0.30.0’, FUELS: ‘0.90.0’ },  
> metadata: {},  
> code: ‘invalid-request’  
> }

my simple code:

```auto
const provider = await Provider.create(URL);

      const my_wallet = Wallet.fromPrivateKey('xxxxxxx');
      const my_account = new Account(my_wallet.address, provider);

      const contract_1 = new Contract(contract_id_1, contract_abi_1, my_account);
      const contract_2 = new Contract(contract_id_2, contract_abi_2, my_account);

      const value = await contract_1.functions.mint_something('test_mint', 1).addContracts([contract_2]).callParams({
        forward: {
          amount: 1000000,
          assetId: provider.getBaseAssetId()
        }
      }).txParams({
        gasLimit: 10000000,
        gasPrice: 1,
      }).call();

```

---

<div class="post-metadata">

**Author:** ![nick](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/nick/32/2330_2.png) [@nick](https://forum.fuel.network/u/nick)\
**Post date:** [June 30, 2024, 11:42am UTC](https://forum.fuel.network/t/something-wrong-when-contract-call/6092/2 "2024-06-30T11:42:44Z")

</div>

HI @sssshello ,

Welcome to the Fuel community!

Can you please provide:

1. The `fuelup show` results
2. The address of the contract you are trying to call
3. The URL to the tutorial or guide you are following
4. The version of the typescript SDK you are using
5. The entire code sample, snippet or github repo of the code you are trying to run

Once you provide these we can take a look.
