I'm getting a 500 error, what are the causes?

Created by Jhonathan Ibanez, Modified on Fri, 27 Sep at 9:39 AM by Jhonathan Ibanez

500 error codes refer to internal server errors where an issue prevented the system from fulfilling the request. In general, the cause can be related to the internal systems.


However, when using the Shipment Tracking - Unified API and getting this response error with one shipment or a small amount but not all of them, it means that the service of that shipment is not supported.


The DHL Shipment Tracking - Unified API will connect to all data sources to which it has access, and look up a shipment ID. If the ID is not recognized, the API will return a 404 telling that no response was found, or, a 500 error indicating an internal server error, but it is actually a timeout.


In conclusion; unless you are receiving 500 errors from all shipment IDs, but a smaller portion, the ones with a 500 error mean they weren't found in the system. The error should be a 404, but the system went into a timeout while still looking, resulting in a 500 error.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article