# Creating purchase order through api

**URL:** <https://community.shiphero.com/t/creating-purchase-order-through-api/783>\
**Category:** GraphQL API\
**Created:** [September 10, 2020, 3:18pm UTC](https://community.shiphero.com/t/creating-purchase-order-through-api/783 "2020-09-10T15:18:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mishawn](https://avatars.discourse-cdn.com/v4/letter/m/858c86/32.png) [@mishawn](https://community.shiphero.com/u/mishawn)\
**Post date:** [September 10, 2020, 3:18pm UTC](https://community.shiphero.com/t/creating-purchase-order-through-api/783/1 "2020-09-10T15:18:12Z")

</div>

While sending a request to dynamically create a purchase order based off invoices we receive from our vendors I am getting the following error:

HTTP/2 400 date: Thu, 10 Sep 2020 15:13:29 GMT content-type: text/html; charset=utf-8 content-length: 71 server: Apache/2.4.41 (Amazon) mod\_wsgi/3.5 Python/3.6.10 {“message”: “Unexpected error. Please contact a system administrator.”}

Can someone point me in the right direction on how to diagnose what’s causing this issue?

---

<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 10, 2020, 5:53pm UTC](https://community.shiphero.com/t/creating-purchase-order-through-api/783/2 "2020-09-10T17:53:26Z")

</div>

Hi @mishawn  
Are you still seeing the error upon retry?  
Is there any chance you could share the Mutation here (with dummy data)  
Thanks in advance!  
Tom
