HTTP Status Codes

This page lists the HTTP response status codes returned by Lightcast APIs and explains what each response means.

2xx - Success

Status CodeMeaningDescription
200OKThe request was successfully processed. For GET requests, the response includes the requested data. For POST or PUT requests, the response confirms the operation completed successfully.

4xx - Client Errors

These responses indicate an issue with the request sent by the client. The request must be modified before retrying.

Status CodeMeaningDescription
400Bad RequestThe request could not be processed by the server because it is malformed, missing required parameters, or contains invalid values. Review the request structure, parameters, and payload before retrying.
401UnauthorizedAuthentication failed because credentials are missing, expired, or invalid. Ensure a valid access token is included in the request headers.
404Not FoundThe requested endpoint or resource does not exist, or the resource cannot be found with the provided identifier. Verify the URL and request parameters.
413Payload Too LargeThe request body exceeds the maximum size allowed by the API. Reduce the payload size or split the request into smaller parts.
415Unsupported Content TypeThe API does not support the format of the data being sent. Ensure the correct Content-Type header is set (for example, application/json).
422Unprocessable EntityThe request is valid, but one or more values in the request are incorrect or not supported. For example, an invalid search query or an unsupported filter value.
429Too Many RequestsThe request rate has exceeded the allowed limit. For more information, see the Rate Limits and Quotas documentation.

5xx - Server Errors

These responses indicate the request was valid, but the server encountered an error while processing it.

Status CodeMeaningDescription
500Internal Server ErrorThe server encountered an unexpected condition that prevented it from fulfilling the request. Retry the request later or contact Lightcast support if the issue persists.
502Bad GatewayThe API received an invalid response from an upstream service. This is typically a temporary issue and may resolve on retry.
503Service UnavailableThe service is temporarily unavailable due to maintenance or high load. Retry the request after some time.
504Gateway TimeoutThe server did not receive a timely response from an upstream service. Retry the request or reduce request complexity.