Marking Order Shipped by shipment/shipment_id/tracking/ API error

Description

Getting
{
“error_message”: “’_UnSet’ object has no attribute ‘pop’”,
“param”: null
}

When I did:

trying to run shipment/M-128-1/tracking/ API with
{
“notify_cart”:true,
“ship_date”:“2019-06-25T17:03:00-06:00”,
“tracking”:{
“vendor”:“other”,
“tracking”:“123456”,
“shipping_method”:“fast”,
“cost”:“5”
}
}
Got error message below
{
“error_message”: “’_UnSet’ object has no attribute ‘pop’”,
“param”: null
}

I expected:

mark order as shipped and add tracking number

What actually happened:

{
“error_message”: “’_UnSet’ object has no attribute ‘pop’”,
“param”: null
}

Request Details

something like `POST https://api.ordoro.com/shipment/M-128-1/tracking/
if there is a relevant payload to attach, do that here too (just remember to obfuscate any private information like passwords or ids).

{
   "notify_cart":true,
   "ship_date":"2019-06-25T17:03:00-06:00",
   "tracking":{ 
      "vendor":"other",
      "tracking":"123456",
      "shipping_method":"fast",
      "cost":"5"
   }
}

Response Details

Body

{
    "error_message": "'_UnSet' object has no attribute 'pop'",
    "param": null
}

Request ID

this can be found in the X-ORDORO-REQUEST-ID header and will help us trace the request through our logs

Hi,

Thanks for the submission. It appears that the payload you are sending in the POST request, is not actually getting to us. We are basically getting an empty request. Can you assert that the data is being passed into the request?

Hope this helps with some debugging.

Are you passing Content-Type : application/json in with your headers? I get back the same error message you are reporting if I do not include that header.

Yes – just weird that is was working and now being told deprecated