Docly Child

API Request Errors

In the event of API request errors, TrackShip uses different HTTP response codes to indicate the correct behind the error.

HTTP Status CodeStatus NameMessage(status_msg)
200OkThe request was created successfully:
pending_trackship = waiting for TrackShip to response
insufficient_balance = Account balance is zero
carrier_unsupported = tracking provider code that you entered is not valid.
400Bad RequestThe requested paramere is missing:
Order id not found
Tracking number not found
Shipping provider not found
401UnauthorizedUnauthorized API access:
ssl_error – Store URL is not with HTTPS
unauthorized – Invalid User key or Store does not exist
500Internal Server ErrorThe server encountered an unexpected condition that prevented it from fulfilling the request.