# Product\_update errors

**URL:** <https://community.shiphero.com/t/product-update-errors/361>\
**Category:** GraphQL API\
**Created:** [February 27, 2020, 11:52pm UTC](https://community.shiphero.com/t/product-update-errors/361 "2020-02-27T23:52:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![albrana](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/albrana/32/91_2.png) [@albrana](https://community.shiphero.com/u/albrana)\
**Post date:** [February 27, 2020, 11:52pm UTC](https://community.shiphero.com/t/product-update-errors/361/1 "2020-02-27T23:52:56Z")

</div>

I’m getting some "Unexpected Error"s on some product\_update mutations. Here is what I am gettting back:

{“errors”:[{“message”:“Unexpected Error”,“operation”:“product\_update”,“field”:“product\_update”,“request\_id”:“5e5854fad6e6033607e704f9”,“code”:22}],“data”:{“product\_update”:null,“warehouse\_product\_update”:{“request\_id”:“5e5854fad6e6033607e704fd”,“complexity”:10}}}

{“errors”:[{“message”:“Unexpected Error”,“operation”:“product\_update”,“field”:“product\_update”,“request\_id”:“5e585618375852a2d366fdbf”,“code”:22}],“data”:{“product\_update”:null,“warehouse\_product\_update”:{“request\_id”:“5e585618375852a2d366fdc3”,“complexity”:10}}}

Can you tell me what I’m doing wrong please?  
Thanks  
Al

---

<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:** [March 2, 2020, 5:20pm UTC](https://community.shiphero.com/t/product-update-errors/361/2 "2020-03-02T17:20:37Z")

</div>

Hi @albrana !  
I apologize for my delay on this.  
The errors are due to the empty fields, for example you are sending something like:

`dimensions: { weight: "3.20", height: "", width: "", length: "" }`

but instead this should work:

`dimensions: { weight: "3.20"}`

Let me know if this doesn’t help.  
Thanks!,  
Tom

---

<div class="post-metadata">

**Author:** ![albrana](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/albrana/32/91_2.png) [@albrana](https://community.shiphero.com/u/albrana)\
**Post date:** [March 3, 2020, 5:57pm UTC](https://community.shiphero.com/t/product-update-errors/361/3 "2020-03-03T17:57:56Z")

</div>

Thanks Tomas. I should be able to make this work now.
