Media Services Live Stream Provisioning API Debugging
This section provides details on the data object that reflects the API’s common response to error cases, and lists the API’s range of response status codes for both error and success cases.
When the API encounters an error, it responds with a JSON object whose
ok property is false. Also included is an error code and error message.
HTTP Status Codes
The API produces the following set of HTTP status codes for both success and failure scenarios:
|200||The operation was successful.|
|202||Resource successfully accepted. This is returned on an activation request. It does not mean that the activation was successful. It means that the activation will be acted upon by the system.|
|403||Access is forbidden. The user provided does not have access to the requested object and/or operation.|
|404||Resource not found.|
|405||Method not allowed.|
|415||Unsupported Media Type|
|429||Too many requests.|
|500||Internal server error. Unexpected error.|
Last modified: 12/6/2017