Difference between revisions of "TextServer Error Codes"

From Textserver wiki
Jump to: navigation, search
(Created page with " 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 o...")
 
Line 1: Line 1:
  
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.
+
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 (<tt>TS-XXX</tt>) and messages, together with HTTP error codes they are embedded in.
+
Here is a list of TextServer error codes (<tt>TS-XXX</tt>) and messages, together with HTTP error codes they are embedded in.
  
"100","en","500","Internal server error"
+
{|
"101","en","500","Error executing the task"
+
|TS-100
"102","en","500","Error retrieving the result"
+
|Internal server error
"103","en","503","Couldn't find a server for the task. Try again later"
+
|HTTP 500
"110","en","400","Input file doesn't match with the available demo file"
+
|-
"111","en","400","Error validating file"
+
|TS-101
"112","en","500","Error saving file input"
+
|Error executing the task
"113","en","503","Requested demo doesn't exists"
+
|HTTP 500
"114","en","400","Wrong number of parameters"
+
|-
"115","en","400","File input is not allowed for this service and client application"
+
|TS-102
"116","en","400","Text input is not allowed for this service and client application"
+
|Error retrieving the result
"117","en","400","Text is longer than the maximum allowed"
+
|HTTP 500
"118","en","400","File is longer than the maximum"
+
|-
"119","en","400","No input given"
+
|TS-103
"120","en","401","Wrong username or password"
+
|Couldn't find a server for the task. Try again later
"122","en","503","Service is disabled"
+
|HTTP 503
"123","en","404","Service not found"
+
|-
"124","en","400","Configuration parameter not found"
+
|TS-110
"125","en","503","Requested file is not ready. Process has not finished yet."
+
|Input file doesn't match with the available demo file
"126","en","401","This user can't use the requested service"
+
|HTTP 400
"127","en","400","File input has incorrect type. Must be a zip file"
+
|-
"128","en","400","Batch processing not available with this input type"
+
|TS-111","en","400","Error validating file
"200","en","403","Access forbidden"
+
|HTTP 400
 +
|-
 +
|TS-112","en","500","Error saving file input
 +
|HTTP 500
 +
|-
 +
|TS-113","en","503","Requested demo doesn't exists
 +
|HTTP 503
 +
|-
 +
|TS-114","en","400","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 400
 +
|-
 +
|TS-120
 +
|Wrong username or password
 +
|HTTP 401
 +
|-
 +
|TS-122
 +
|Service is disabled
 +
|HTTP 503
 +
|-
 +
|TS-123
 +
|Service not found
 +
|HTTP 404
 +
|-
 +
|TS-124
 +
|Configuration parameter not found
 +
|HTTP 400
 +
|-
 +
|TS-125
 +
|Requested file is not ready. Process has not finished yet.
 +
|HTTP 503
 +
|-
 +
|
 +
|TS-126
 +
|This user can't use the requested service
 +
|HTTP 401
 +
|-
 +
|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 400
 +
|-
 +
|TS-200
 +
|Access forbidden
 +
|HTTP 403
 +
|-
 +
|}

Revision as of 14:20, 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.

TS-100 Internal server error HTTP 500
TS-101 Error executing the task HTTP 500
TS-102 Error retrieving the result HTTP 500
TS-103 Couldn't find a server for the task. Try again later HTTP 503
TS-110 Input file doesn't match with the available demo file HTTP 400
TS-111","en","400","Error validating file HTTP 400
TS-112","en","500","Error saving file input HTTP 500
TS-113","en","503","Requested demo doesn't exists HTTP 503
TS-114","en","400","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 400
TS-120 Wrong username or password HTTP 401
TS-122 Service is disabled HTTP 503
TS-123 Service not found HTTP 404
TS-124 Configuration parameter not found HTTP 400
TS-125 Requested file is not ready. Process has not finished yet. HTTP 503
TS-126 This user can't use the requested service HTTP 401
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 400
TS-200 Access forbidden HTTP 403