If you are receiving an "Unauthorized" error code when calling the Shipment Tracking - Unified API via an API platform like Postman, then there could be a series of scenarios causing this issue like:
- The URL of the API is not well written. This is a well-written example: https://api-eu.dhl.com/track/shipments?trackingNumber=12345678
- The API Key parameter is not well written in the Headers. Read more about it in this article.
- You are adding an API Key that has no rights to access the Shipment Tracking - Unified API
If your issue is not related to the previous cases, please open a ticket in our Help Center.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article