Sellbrite / Sellbrite-API

Sellbrite API guides
2 stars 1 forks source link

Ship API returning error #39

Open tgreenhaw opened 6 months ago

tgreenhaw commented 6 months ago

Discussed in https://github.com/Sellbrite/Sellbrite-API/discussions/38

Originally posted by **tgreenhaw** April 25, 2024 We are suddenly getting errors on most orders when we mark them as shipped. On order errors we get "SB Order Seq 13859; Exception: The remote server returned an error: (422) Unprocessable Content." We have examined what we are sending and don't see any differences between orders that work (e.g. sb order sequence 13905) and orders that do not (e.g. sb order sequence 13899). Can you help asap to let us know why we are getting this error from the Sellbrite API this is what we are sending to the api: --does not work { "shipment": {"carrier_name":"UPS","items":[{"quantity":"1","sku":"141580"}],"sb_order_seq":"13899","shipping_method":"Standard","tracking_number":"1Z6A307F0300874942","warehouse_uuid":"dd79951d-1a7e-421e-86ac-11b6425d6c86"} } --works { "shipment": {"carrier_name":"UPS","items":[{"quantity":"1","sku":"238341"}],"sb_order_seq":"13858","shipping_method":"Standard","tracking_number":"1Z6430870301178126","warehouse_uuid":"28a6ff38-bc96-4d37-a9cb-81be8df4864a"} }