An error that occurs when a function is executed can be recognized in the HTTP status code.
HTTP Status Code |
Meaning |
Used For |
200 (OK) |
OK, information or component was delivered, transferred, changed, appended, or deleted |
info, get, docGet, update, append, delete, putCert, search, attrSearch |
201(created) |
OK, component(s) created (if create was used)OK, all documents created (if mCreate was used) |
create, mCreate |
250 (missing documents created) |
OK, all missing documents were created |
mCreate |
400 (bad request) |
Unknown function or unknown parameter |
All functions |
401 (unauthorized) |
Security breach |
info, get, docGet, create, update, append , delete, mCreate, search, attrSearch |
403 (forbidden) |
Document or component already exists |
create, mCreate |
404 (not found) |
Document, component, or content repository not found |
info, get, docGet, update, append, delete, search, attrSearch |
406 (not acceptable) |
Certificate not recognized |
putCert |
409 (conflict) |
Document, component, or administration data inaccessible |
info, get, docGet, append, update, delete, search, attrSearch |
500 (Internal Server Error) |
Internal error on Content Server |
All functions |
If an error occurs, the content server must deliver an ASCII string describing the error. The error must be entered in the header field
X-ErrorDescription.