# TxnField.accounts in InnerTxn encountering runtime error(PyTeal)

**URL:** https://forum.algorand.co/t/txnfield-accounts-in-innertxn-encountering-runtime-error-pyteal/7210
**Category:** General
**Created:** [June 19, 2022, 9:17pm UTC](https://forum.algorand.co/t/txnfield-accounts-in-innertxn-encountering-runtime-error-pyteal/7210 "2022-06-19T21:17:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tcduqk](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@tcduqk](https://forum.algorand.co/u/tcduqk)
#### Post date: [June 19, 2022, 9:17pm UTC](https://forum.algorand.co/t/txnfield-accounts-in-innertxn-encountering-runtime-error-pyteal/7210/1 "2022-06-19T21:17:29Z")

</div>

when passing Txn accounts to InnerTxn field, as

```auto
...
TxnField.accounts: [Txn.accounts[1]]
....

```

I receive the following error:

```auto
RUNTIME_ERR1048: execution of itxn_field Accounts failed. Message: Field Accountsi is invalid.

```

What might be causing this?

---

<div class="post-metadata">

### Author: ![Ben](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ben/32/1979_2.png) [@Ben](https://forum.algorand.co/u/Ben)
#### Post date: [June 20, 2022, 10:12pm UTC](https://forum.algorand.co/t/txnfield-accounts-in-innertxn-encountering-runtime-error-pyteal/7210/2 "2022-06-20T22:12:56Z")

</div>

Hi tcduqk,

Can you look at the teal source file? I’m guessing at some point an `i` was added at the end of the valid `Accounts` field?

---

<div class="post-metadata">

### Author: ![Ben](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/ben/32/1979_2.png) [@Ben](https://forum.algorand.co/u/Ben)
#### Post date: [June 21, 2022, 1:26pm UTC](https://forum.algorand.co/t/txnfield-accounts-in-innertxn-encountering-runtime-error-pyteal/7210/3 "2022-06-21T13:26:15Z")

</div>

I take it back, the misspelled Accounts field would not make it past assembly. Are you using some other teal interpreter or alternate AVM implementation?
