Error Messages found in the Surpass Web API

The below table provides a list of all error messages within the Surpass Editions API:
Number Evaluation Error Response Status Code Description
1 Unexpected error 500 InternalServerError An error occurred while processing your request
2 Wrong method URL 404 Not Found An error occurred while processing your request
3 Evaluate if the token/username-password is good 401 Unauthorized Access is denied
4 Evaluate that the method parameters sent are valid 400 Bad Request Unable to complete service call, the following field(s) contain incorrect or missing data: <field1>, <field2>
5 Evaluate User Permissions for operation 400 Bad Request Unable to complete service call, you do not have permission to perform the operation
6 Evaluate User Permissions for operation in specified centre and subject 400 Bad Request Unable to complete service call, you do not have permission to access this Centre or Subject
7 Evaluate that the method parameters are sent in request body 400 Bad Request Unable to complete service call, you do not specify the request body
8 Evaluate that the centre and subject references are valid 400 Bad Request Unable to complete service call, you have specified invalid references for centre or subject
9 Evaluate missing parameters in requested available report 400 Bad Request Unable to complete service call, the following parameter(s) does not specified: <parameter1>, < parameter2>
10 Evaluate that one field value is greater or equal to another 400 Bad Request Unable to complete service call, <field1> have to be greater or equal to <field2>.
11 Evaluate reference 400 Bad Request Unable to complete service call, you have specified invalid reference for <field>.
12 Evaluate that test has subjects associated 400 Bad Request Unable to complete service call, test has no subjects associated.
13 Evaluate that candidate has centres and subjects permissions 400 Bad Request Unable to complete service call, the candidate does not have the required centre/permission.
Next Article

Feedback and Knowledge Base