# Purchase Order - vendor id - Unexpected Error 22

**URL:** <https://community.shiphero.com/t/purchase-order-vendor-id-unexpected-error-22/739>\
**Category:** GraphQL API\
**Created:** [September 2, 2020, 9:22pm UTC](https://community.shiphero.com/t/purchase-order-vendor-id-unexpected-error-22/739 "2020-09-02T21:22:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jarvis](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@Jarvis](https://community.shiphero.com/u/Jarvis)\
**Post date:** [September 2, 2020, 9:22pm UTC](https://community.shiphero.com/t/purchase-order-vendor-id-unexpected-error-22/739/1 "2020-09-02T21:22:26Z")

</div>

When I try to query vendor info via purchase\_order query command, following the doc: [https://developer.shiphero.com/examples-query/#purchaseorder](https://developer.shiphero.com/examples-query/#purchaseorder), the Unexpected Error 22 comes out:

_Exception: {‘message’: ‘Unexpected Error’, ‘operation’: ‘purchase\_order’, ‘field’: ‘id’, ‘request\_id’: '5f5007437ea00634_  
_277b737a’, ‘code’: 22}_

As I remove id attribute from vendor node, the query works.

Does it mean id under vendor node is not supported at present?

---

<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:** [September 11, 2020, 6:59pm UTC](https://community.shiphero.com/t/purchase-order-vendor-id-unexpected-error-22/739/2 "2020-09-11T18:59:15Z")

</div>

Hi @Jarvis!  
I apologize for the delayed response to this.  
It seems like there is no vendor for that PO and the SKU doesn’t exist in the account, that is why it is returning the error.  
I logged a request for the error to be something more accurate, my apologies for this.  
This seems to be an old order, but is this something recurrent?  
Thanks in advance!  
Tom
