Feature request (bug ruport): Please provide better error messages on issues with data payloads

Highlighted
New Member
2 0 0

 

We just lost many hours doublechecking everything involved with a POST to admin/api/2020-04/orders/SFY_ORDER_ID/fulfillment.json because the error message -- 404 status and {"error":"not found"} gave no clue that the problem was that we had mis-entered the location id in our configuration for this one particular shop.

Please revise how the API reports this kind of data error. A response of {"error":"location_id unrecognized"} would have been much, much, better.

It seems like people have been having this problem since 2018, based on other discussions of 404s coming from that endpoint.

Thank you.

0 Likes