Invalid ApplicationArgs index 0 - Algorand

Invalid ApplicationArgs index 0

post by zafar on Dec 22, 2022

Hello I am doing 5 transaction to call buy method from shufl smart contract but i am facing this error

text: ‘{“message”:“TransactionPool.Remember: transaction XVWLDIYDICRYIRQ3BRPFGNCT6JXG6CUUGI3IZOZS7CQDQNCOES2Q: logic eval error: invalid ApplicationArgs index 0. Details: pc=2565, opcodes=intc_1 // 0\n==\ngtxna 1 ApplicationArgs 0\n”}\n’,

385 views

post by fabrice on Dec 27, 2022

It looks like you may not have called the smart contract with the right arguments.

For us to be able to help you, can you provide more context?

If you used a tutorial, can you link to it?

Can you provide a minimal example exhibiting the behaviour (that is a minimal smart contract and a minimal script calling it)?

It looks like it may be easier to have a more interactive discussion, in which case, I recommend you switch to Discord ( Algorand) and then report back here once the problem is solved.

Related topics

Topic Replies Views Activity
Logic eval error: invalid ApplicationArgs index 2 but I don’t have 3 args 3 770 Nov 2021
App problem, TEAL level 10 360 Apr 2024
Calling function of another contract in current contract 11 1.1k Aug 2022
How to get arguments in Smart Contract using PYTEAL 1 1.1k May 2021
Examples for python in algov2 14 1.4k Jul 2021