Posting API - Error Codes & Responses


HTTP Status Codes

The Showtime Analytics API attempts to return appropriate HTTP status codes for every request.

CodeStringDescription
200OKMessage successfully received, added to queue for processing
400Bad RequestThe XML in the request was invalid or the structure was invalid. Complete message is rejected.
401UnauthorizedAuthentication credentials were missing or incorrect. Complete message is rejected.
500Internal Server ErrorSomething is broken. We have been notified. Try again later. If the problem persists, please contact support. Complete message is rejected.
503Service UnavailableThe Showtime Analytics servers are up, but overloaded with requests. Try again later. Complete message is rejected.

Processing Response Messages

Once the Showtime Analytics API has successfully received your request, it will processes each entity in the message separately and returns a separate status for each update. The responses for each entity will be returned in the same message structure as the request.

When there is a processing error, there will be a descriptive error text plus a machine-parseable code. While the text for an error message may change, the codes will stay the same.

The following table describes the codes which may appear when working with the API:

CodeStringDescription
0Successfully Processed 
100Internal ErrorEntity could not be processed because there was an unexpected error in the processing system. This error will only be returned after it has been retried multiple times. That specific entity update is rejected.
101Invalid entityEntity could not be processed because the structure was invalid or the datatype for some field(s) did not match the spec. That specific entity update is rejected.
102Missing DataEntity could not be processed because some madatory field(s) was missing/empty. That specific entity update is rejected.