HTTP Status Codes
| Status Code | Meaning | Description |
|---|---|---|
200 | OK | Request successful |
201 | Created | Resource created successfully (CMS POST) |
400 | Bad Request | Invalid request parameters or body |
401 | Unauthorized | Missing or invalid username/password headers |
403 | Forbidden | Insufficient permissions for this operation |
404 | Not Found | Resource does not exist |
429 | Too Many Requests | Rate limit exceeded |
500 | Internal Server Error | Server-side error |
Error Response Format
CDS Errors
CMS Errors
Common Error Scenarios
401 Unauthorized
Cause: Missing or invalid authentication headers. Solution: Ensure bothusername and password headers are present and correct.
400 Bad Request
Cause: Invalid request body or missing required fields. Common triggers:- Missing required fields (
name,english_namefor categories;title,type,status,primary_categoryfor posts) - Invalid field types (string where integer expected)
- Invalid enum values (wrong
typeorstatusvalue for posts)
404 Not Found
Cause: The requested resource does not exist. Common triggers:- Invalid ID or slug in URL path
- Resource was deleted
- Wrong
publisher_id