# TypeError: Cannot read property 'y' of undefined

**URL:** <https://support.prodi.gy/t/typeerror-cannot-read-property-y-of-undefined/4200>\
**Category:** Uncategorized\
**Tags:** front-end, relations, more-info-needed\
**Created:** [May 4, 2021, 9:58am UTC](https://support.prodi.gy/t/typeerror-cannot-read-property-y-of-undefined/4200 "2021-05-04T09:58:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinitrinh](https://avatars.discourse-cdn.com/v4/letter/v/ecae2f/32.png) [@vinitrinh](https://support.prodi.gy/u/vinitrinh)\
**Post date:** [May 4, 2021, 9:58am UTC](https://support.prodi.gy/t/typeerror-cannot-read-property-y-of-undefined/4200/1 "2021-05-04T09:58:40Z")

</div>

ver: 1.10.8

Experienced an error as I simply click "accept" on the annotator

 ![image](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/7/7cbb801b7167a4cf0b2be658559b13c0b711cee4.png)

The full log is:  
in t  
in Jss(t)  
in div  
in t  
in Jss(t)  
in Unknown  
in t  
in Jss(t)  
in div  
in div  
in t  
in Jss(t)  
in Connect(Jss(t))  
in main  
in div  
in Shortcuts  
in t  
in n  
in Jss(n)  
in Connect(Jss(n))  
in t  
in t  
in Connect(t)  
in t  
in t

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [May 5, 2021, 9:55am UTC](https://support.prodi.gy/t/typeerror-cannot-read-property-y-of-undefined/4200/2 "2021-05-05T09:55:43Z")

</div>

Hi! Thanks for the report. Could you share the exact command you ran and/or the code of a custom recipe? And do you have an example of the input data you're loading?

---

<div class="post-metadata">

**Author:** ![Julian](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@Julian](https://support.prodi.gy/u/Julian)\
**Post date:** [November 15, 2021, 6:21am UTC](https://support.prodi.gy/t/typeerror-cannot-read-property-y-of-undefined/4200/3 "2021-11-15T06:21:34Z")

</div>

Hi vinitrinh.

I've met the same error but when clicking "wrap" checkbox instead of "accept". For me the problem is line splitters "/n" at the end of sentences need to be labeled. Hope it helps.

---

<div class="post-metadata">

**Author:** ![00benallen](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/00benallen/32/3081_2.png) [@00benallen](https://support.prodi.gy/u/00benallen)\
**Post date:** [July 1, 2022, 3:29pm UTC](https://support.prodi.gy/t/typeerror-cannot-read-property-y-of-undefined/4200/4 "2022-07-01T15:29:21Z")

</div>

hi Ines, I'm having the same problem as Julian!

The command I ran:

```python
python -m prodigy rel.manual mexican_dep_parsing_july_1 es_core_news_lg NER_updated_version.jsonl -l operating_in -AE

```

The interface before I click the "wrap" checkbox

 ![Screenshot 2022-07-01 112436](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/1/1abc1f337bc4d5de7f4e23ccd3f0c60db5a8dcab.png)

The interface after I click the "wrap" checkbox

 ![Screenshot 2022-07-01 112451](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/b/b7b6e1e5487f88c499cb602a3965052fa752617f.png)

I'm on version 1.11.7

---

<div class="post-metadata">

**Author:** ![koaning](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/koaning/32/230_2.png) [@koaning](https://support.prodi.gy/u/koaning)\
**Post date:** [July 4, 2022, 11:39am UTC](https://support.prodi.gy/t/typeerror-cannot-read-property-y-of-undefined/4200/5 "2022-07-04T11:39:16Z")

</div>

Could you share the example you're trying to run so that we may be able to reproduce this locally?
