Difference between revisions of "TextServer Error Codes"
From Textserver wiki
Line 5: | Line 5: | ||
{| | {| | ||
+ | !HTTP error | ||
!TS code | !TS code | ||
!TS error reason | !TS error reason | ||
− | |||
|- | |- | ||
− | |TS-100 || Internal server error | + | | HTTP 500 || TS-100 || Internal server error |
|- | |- | ||
− | |TS-101 || Error executing the task | + | | HTTP 500 || TS-101 || Error executing the task |
|- | |- | ||
− | |TS-102 || Error retrieving the result | + | | HTTP 500 || TS-102 || Error retrieving the result |
|- | |- | ||
− | |TS-103 || Couldn't find a server for the task. Try again later | + | | HTTP 503 || TS-103 || Couldn't find a server for the task. Try again later |
|- | |- | ||
− | |TS-110 || Input file doesn't match with the available demo file | + | | HTTP 400 || TS-110 || Input file doesn't match with the available demo file |
|- | |- | ||
− | |TS-111 || Error validating file | + | | HTTP 400 || TS-111 || Error validating file |
|- | |- | ||
− | |TS-112 || Error saving file input | + | | HTTP 500 || TS-112 || Error saving file input |
|- | |- | ||
− | |TS-113 || Requested demo doesn't exists | + | | HTTP 503 || TS-113 || Requested demo doesn't exists |
|- | |- | ||
− | |TS-114 || Wrong number of parameters | + | | HTTP 400 || TS-114 || Wrong number of parameters |
|- | |- | ||
− | |TS-115 || File input is not allowed for this service and client application | + | | HTTP 400 || TS-115 || File input is not allowed for this service and client application |
|- | |- | ||
− | |TS-116 || Text input is not allowed for this service and client application | + | | HTTP 400 || TS-116 || Text input is not allowed for this service and client application |
|- | |- | ||
− | |TS-117 || Text is longer than the maximum allowed | + | | HTTP 400 || TS-117 || Text is longer than the maximum allowed |
|- | |- | ||
− | |TS-118 || File is longer than the maximum | + | | HTTP 400 || TS-118 || File is longer than the maximum |
|- | |- | ||
− | |TS-119 || No input given | + | | HTTP 400 || TS-119 || No input given |
|- | |- | ||
− | |TS-120 || Wrong username or password | + | | HTTP 401 || TS-120 || Wrong username or password |
|- | |- | ||
− | |TS-122 || Service is disabled | + | | HTTP 503 || TS-122 || Service is disabled |
|- | |- | ||
− | |TS-123 || Service not found | + | | HTTP 404 || TS-123 || Service not found |
|- | |- | ||
− | |TS-124 || Configuration parameter not found | + | | HTTP 400 || TS-124 || Configuration parameter not found |
|- | |- | ||
− | |TS-125 || Requested file is not ready. Process has not finished yet. | + | | HTTP 503 || TS-125 || Requested file is not ready. Process has not finished yet. |
|- | |- | ||
− | |TS-126 || This user can't use the requested service | + | | HTTP 401 || TS-126 || This user can't use the requested service |
|- | |- | ||
− | |TS-127 || File input has incorrect type. Must be a zip file | + | | HTTP 400 || TS-127 || File input has incorrect type. Must be a zip file |
|- | |- | ||
− | |TS-128 || Batch processing not available with this input type | + | | HTTP 400 || TS-128 || Batch processing not available with this input type |
|- | |- | ||
− | |TS-200 || Access forbidden | + | | HTTP 403 || TS-200 || Access forbidden |
|} | |} |
Revision as of 14:32, 22 January 2016
When a request can not be served, TextServer will return an HTTP error code. The error message will contain an internal error code and a detailed explanation of the reason of the error.
Here is a list of TextServer error codes (TS-XXX) and messages, together with HTTP error codes they are embedded in.
HTTP error | TS code | TS error reason |
---|---|---|
HTTP 500 | TS-100 | Internal server error |
HTTP 500 | TS-101 | Error executing the task |
HTTP 500 | TS-102 | Error retrieving the result |
HTTP 503 | TS-103 | Couldn't find a server for the task. Try again later |
HTTP 400 | TS-110 | Input file doesn't match with the available demo file |
HTTP 400 | TS-111 | Error validating file |
HTTP 500 | TS-112 | Error saving file input |
HTTP 503 | TS-113 | Requested demo doesn't exists |
HTTP 400 | TS-114 | Wrong number of parameters |
HTTP 400 | TS-115 | File input is not allowed for this service and client application |
HTTP 400 | TS-116 | Text input is not allowed for this service and client application |
HTTP 400 | TS-117 | Text is longer than the maximum allowed |
HTTP 400 | TS-118 | File is longer than the maximum |
HTTP 400 | TS-119 | No input given |
HTTP 401 | TS-120 | Wrong username or password |
HTTP 503 | TS-122 | Service is disabled |
HTTP 404 | TS-123 | Service not found |
HTTP 400 | TS-124 | Configuration parameter not found |
HTTP 503 | TS-125 | Requested file is not ready. Process has not finished yet. |
HTTP 401 | TS-126 | This user can't use the requested service |
HTTP 400 | TS-127 | File input has incorrect type. Must be a zip file |
HTTP 400 | TS-128 | Batch processing not available with this input type |
HTTP 403 | TS-200 | Access forbidden |