admin管理员组文章数量:1352147
I want to enter tracking details for shipping labels from a non partnered carrier with the SP API and it worked for a day, but now I am getting the same error for every single one of my shipments:
2025-04-01 09:51:12,356 ERROR: PUT request to failed. Status code: 400. Headers: {'Server': 'Server', 'Date': 'Tue, 01 Apr 2025 07:51:06 GMT', 'Content-Type': 'application/json', 'Content-Length': '214', 'Connection': 'keep-alive', 'x-amz-rid': 'Q4YJJ9BG1WEJCHFPGN28', 'x-amzn-RateLimit-Limit': '2.0', 'x-amzn-RequestId': '57b61921-5f37-4eb5-abb3-ae10b220427e', 'x-amz-apigw-id': 'OPF57b619215f37', 'X-Amzn-Trace-Id': 'Root=1-67eb9aea-57b619215f374eb5', 'Vary': 'Content-Type,Accept-Encoding,User-Agent', 'Strict-Transport-Security': 'max-age=47474747; includeSubDomains; preload'}. Response body: {
"errors": [
{
"code": "BadRequest",
"message": "ERROR: Shipment shd793cfaf-d21d-40ec-b0f5-d9ddbeb40edb is not in a state where tracking details can be provided.",
"details": ""
}
]
}
I can't find a single reason why my shipments wouldn't be ready. Their status is WORKING and they are all fully completed apart from the tracking numbers.
Why am I getting this error and how do I no longer get it?
I want to enter tracking details for shipping labels from a non partnered carrier with the SP API and it worked for a day, but now I am getting the same error for every single one of my shipments:
2025-04-01 09:51:12,356 ERROR: PUT request to https://sellingpartnerapi-eu.amazon/inbound/fba/2024-03-20/inboundPlans/wfc485fc53-4d3e-4ddd-b868-e6f7f70ebe9d/shipments/shd793cfaf-d21d-40ec-b0f5-d9ddbeb40edb/trackingDetails failed. Status code: 400. Headers: {'Server': 'Server', 'Date': 'Tue, 01 Apr 2025 07:51:06 GMT', 'Content-Type': 'application/json', 'Content-Length': '214', 'Connection': 'keep-alive', 'x-amz-rid': 'Q4YJJ9BG1WEJCHFPGN28', 'x-amzn-RateLimit-Limit': '2.0', 'x-amzn-RequestId': '57b61921-5f37-4eb5-abb3-ae10b220427e', 'x-amz-apigw-id': 'OPF57b619215f37', 'X-Amzn-Trace-Id': 'Root=1-67eb9aea-57b619215f374eb5', 'Vary': 'Content-Type,Accept-Encoding,User-Agent', 'Strict-Transport-Security': 'max-age=47474747; includeSubDomains; preload'}. Response body: {
"errors": [
{
"code": "BadRequest",
"message": "ERROR: Shipment shd793cfaf-d21d-40ec-b0f5-d9ddbeb40edb is not in a state where tracking details can be provided.",
"details": ""
}
]
}
I can't find a single reason why my shipments wouldn't be ready. Their status is WORKING and they are all fully completed apart from the tracking numbers.
Why am I getting this error and how do I no longer get it?
Share Improve this question asked Apr 1 at 8:11 joeljoel 563 bronze badges2 Answers
Reset to default 1Even though the status is WORKING
, Amazon might require the shipment to be in a different state before allowing tracking details.
Try checking the shipment status again using GET /inbound/v1/shipments/{shipmentId}
. If it's in CLOSED
or another unexpected state, that could be the issue.
Amazon replied to me and said the following:
Please note that this shipment is created via Send to Amazon (Seller Central UI), and so the API
updateShipmentTrackingDetails
cannot be used to provide tracking details.Please use Seller Central to update tracking details for this shipment, and use the
updateShipmentTrackingDetails
API only for API created shipments.
This explains why it doesn't work for all my shipments, but makes it even more confusing as to why they did work since all of our shipments are made in seller central UI.
本文标签: BadRequest Error for tracking details Amazon seller APIStack Overflow
版权声明:本文标题:BadRequest Error for tracking details Amazon seller API - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743900697a2558620.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论