Page History
...
Excerpt | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HTTP response status codes described in this section indicate whether a specific HTTP request has been successfully completed. Refer to their descriptions below when integrating WebSpellChecker into your applications and testing REST API. This section covers:
Response StructureThe response structure below is applicable to all error messages you may receive. The difference depends on the command used and the message returned.
400 Bad RequestThe HTTP 400 Bad Request response status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error. Possible Cause
RemediationCheck the command correctness:
Command Syntax Error IssueFor example, the following command has a syntax error in "check_spelling" command name:
Remediation: specify a correct command name.
Unspecified Command IssueFor example, the command is unspecified:
Remediation: specify the command value. Invalid Parameter Key IssueFor example, the parameter key is invalid:
Remediation: specify a correct parameter key. 403 ForbiddenThe HTTP 403 Forbidden client error status response code indicates that the server understood the request but refuses to authorize it.
Incorrect Customer ID IssueExample of incorrect customer ID:
Remediation: request a new/valid customer ID. Expired Customer ID IssueExample of expired customer ID:
Remediation: request a new/valid customer ID. Unallowed Domains IssueExample of the list of unallowed domains:
Remediation: Verify the subscription covers the domain where you are using WebSpellChecker. Subscription Key IssueExample of the subscription key which is either turned off or does not exist yet:
Remediation: Contact our support team for details. 500 Internal Server ErrorThe HTTP 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
503 Service UnavailableThis parameter is applicable for WebSpellChecker Server version only. You may encounter this error in the following cases:
Verify the server license and update/request new license if it is necessary. Also contact our support team at [email protected] |
...