# Why I get logic eval error: txn index 1, len(group) is 1?

**URL:** https://forum.algorand.co/t/why-i-get-logic-eval-error-txn-index-1-len-group-is-1/7869
**Category:** General
**Tags:** teal, smart-contracts
**Created:** [September 22, 2022, 11:03am UTC](https://forum.algorand.co/t/why-i-get-logic-eval-error-txn-index-1-len-group-is-1/7869 "2022-09-22T11:03:59Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![\_ei](https://avatars.discourse-cdn.com/v4/letter/_/ce7236/32.png) [@\_ei](https://forum.algorand.co/u/_ei)
#### Post date: [September 22, 2022, 12:33pm UTC](https://forum.algorand.co/t/why-i-get-logic-eval-error-txn-index-1-len-group-is-1/7869/6 "2022-09-22T12:33:49Z")

</div>

> [@nullun](#):
>
> Here’s a working example assuming you want to deploy the contract, then subsequent calls require a group.

It is exactly the result I wanted to achieve! Thank you so much @nullun , have a good day!

---

_[View the full topic](https://forum.algorand.co/t/why-i-get-logic-eval-error-txn-index-1-len-group-is-1/7869)._
