# Line items error

**URL:** <https://community.shiphero.com/t/line-items-error/1084>\
**Category:** GraphQL API\
**Created:** [January 29, 2021, 2:02pm UTC](https://community.shiphero.com/t/line-items-error/1084 "2021-01-29T14:02:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eduardo](https://avatars.discourse-cdn.com/v4/letter/e/6a8cbe/32.png) [@Eduardo](https://community.shiphero.com/u/Eduardo)\
**Post date:** [January 29, 2021, 2:02pm UTC](https://community.shiphero.com/t/line-items-error/1084/1 "2021-01-29T14:02:27Z")

</div>

Hi Community! I noticed an error with some purchase orders whereby we cannot get the line items:

 ![Inkedimage_LI](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/1X/5f06d66a7db5d83ce72566d566c765cfcfe2e405.jpeg)

Am I doing anything wrong in the query? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [January 29, 2021, 2:24pm UTC](https://community.shiphero.com/t/line-items-error/1084/2 "2021-01-29T14:24:01Z")

</div>

Hi @Eduardo!  
Do you happen to have the request\_id?  
Thanks in advance!  
Tom

---

<div class="post-metadata">

**Author:** ![Eduardo](https://avatars.discourse-cdn.com/v4/letter/e/6a8cbe/32.png) [@Eduardo](https://community.shiphero.com/u/Eduardo)\
**Post date:** [January 29, 2021, 2:53pm UTC](https://community.shiphero.com/t/line-items-error/1084/3 "2021-01-29T14:53:47Z")

</div>

Of course!

 ![image](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/1X/8757f279cdbb9d9a6fcf2335845e0359c478925d.png)

I have round 20 PO with this error. If you need more info just tell me

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [January 29, 2021, 3:31pm UTC](https://community.shiphero.com/t/line-items-error/1084/4 "2021-01-29T15:31:50Z")

</div>

Thanks for that @Eduardo!

That error is because there is a product on that PO that doesn’t exist on ShipHero.  
You will need to create the product in your account. We are also working on improving that error message returned.

Thanks again and I will keep you posted on the progress of the request!  
Tom

---

<div class="post-metadata">

**Author:** ![Eduardo](https://avatars.discourse-cdn.com/v4/letter/e/6a8cbe/32.png) [@Eduardo](https://community.shiphero.com/u/Eduardo)\
**Post date:** [February 2, 2021, 8:53am UTC](https://community.shiphero.com/t/line-items-error/1084/5 "2021-02-02T08:53:27Z")

</div>

Hi Tom! Thanks for your reply and sorry for my late. If i understood correctly, if I create again the product deleted the error will disappear?

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [February 2, 2021, 1:11pm UTC](https://community.shiphero.com/t/line-items-error/1084/6 "2021-02-02T13:11:48Z")

</div>

That is correct @Eduardo!

We are working on improving those error messages when this happens, but creating those unexisting/deleted will solve it

Thanks again!  
Tom

---

<div class="post-metadata">

**Author:** ![Eduardo](https://avatars.discourse-cdn.com/v4/letter/e/6a8cbe/32.png) [@Eduardo](https://community.shiphero.com/u/Eduardo)\
**Post date:** [February 2, 2021, 4:25pm UTC](https://community.shiphero.com/t/line-items-error/1084/7 "2021-02-02T16:25:06Z")

</div>

Definitely, these messages would be a great help! And the last question, at the moment of (re)creation the products, these should have the same names? or SKU? Or what is the way to link them with the purchase orders?

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [February 3, 2021, 1:30am UTC](https://community.shiphero.com/t/line-items-error/1084/8 "2021-02-03T01:30:27Z")

</div>

Absolutely @Eduardo!  
They should have the same SKU, and as soon as they get created (or recreated) the message should go away 🙂
