Response Codes

Response Codes

SearchBlox will return a Status Code indicating the status of the operation when using API calls.

XML

<?xml version=”1.0″ encoding=”utf-8″?>
<searchblox>
<statuscode>100</statuscode>
<statusdesc>Document Indexed</statusdesc>
</searchblox>

 

JSON

{

“message”: “Collection test created successfully with type http”,

“statusCode”: 5000

}

 

Status Code – Description XML API

100 Document Indexed
101 Error Indexing Document
200 Document Deleted
201 Document requested for deletion does not exist
301 Document Not Found
400 Collection Cleared
401 Error Clearing Collection
404 url Not found
405 Method not allowed or incorrect method selected
415 Unsupported media type
500 Invalid Collection Name
501 Invalid Request
502 Invalid Document Location
503 Specified collection is not a CUSTOM collection
504 Licensed Document Limit Exceeded
506 Invalid Document UID
601 Invalid License ID / API key not valid
602 Custom documents not supported by this edition of SearchBlox
800 Custom Collection Deleted
900 Custom Collection Added
1001 Document added successfully
1002 Document couldn’t be reached
2001 Document deleted successfully
2002 Specified collection is not a custom collection
5000 Collection created successfully
50001 Collection exist/ collection type not found
50002 Invalid JSON
50003 Collection deleted successfully
50005 Collection path has been saved successfully
50006 Settings saved successfully
50007 Invalid request/ Collection not found
50008 Collection Indexing / Collection Indexing has been stopped/ Collection schedule saved successfully
50009 Invalid request/ Collection not found

Back to Top