Surpass API v2 - Error Codes

Error Codes

Common

Internal Naming

Code

 

InvalidInputParameters

15

Happens when something is wrong with input parameters. For example $top, date, reference etc. is somehow incorrect.

InvalidODataOperation

19

Happens when unsupported operator used. For example ‘eq’ operator is unsupported to compare dates.

MissingBody

7

Something is wrong with request.

InaccessibleOperation

5

This issue is permissions related.

InaccessibleData

6

This issue is permissions related.

InternalServer

1

 

Unauthorized

3

 

BadRequest

20

Problem with $skip parameter.

Default

-1

 

IncorrectFieldFormat

4

 

InvalidReference

11

 

NoSubjectsAssociated

12

 

InaccessibleCandidate

13

 

InvalidId

16

 

TestReferenceIsNotUnique

18

 

Candidate

Internal Naming

Code

 

FailedToCreateCandidate

21

 

FailedToUpdateCandidate

22

 

CandidateDoesNotExist

23

 

CannotCreateNewUserThatIsRetired

24

 

InvalidReferences

8

 

Report 

Internal Naming

Code

 

ReportDoesNotExist

25

 

InvalidReportParameters

9

 

TestSchedule

Internal Naming

Code

 

TheStartOrEndDatesAreNotWithinTheAvailableWindow

26

 

TestNotFound

17

 

TheStartOrEndTimesAreNotWithinTheAvailableWindow

27

 

InvalidDateTimeRange

10

 

SecureAssessIntegration

28

Something bad happened in SA, but we don’t have localized message

TheCandidateIsAlreadyScheduledForTheExam

29

 

TheStartAndEndDatesAreInvalid

36

 

ReasonableAdjustmentsCantBeAdded

37

 

ReasonableAdjustmentsExtraTimePercentageLess

38

 

ReasonableAdjustmentsExtraTimePercentageGreater

39

 

TheCandidateIsRetired

48

 

ScheduledTestIsLocked

81

 

ScheduledTestHasMultipleTestSessions

82

 

NoScheduledTestsFound

83

 

Result

Naming

Code

 

ResultDoesNotExist

30

 

Centre

Naming

Code

 

CentreDoesNotExist

31

 

CentreReferenceNotUnique

32

 

FailedToCreateCentre

33

 

FailedToUpdateCentre

34

 

FailedToDeleteCentre

35

 

User

Naming

Code

 

UserDoesNotExist

40

 

FailedToDeleteUser

41

 

FailedToCreateUser

42

 

CannotCreateNotAssignableSiteAdministrator

67

 

Subject

Naming

Code

 

SubjectDoesNotExist

43

 

FailedToCreateSubject

44

 

FailedToDeleteSubject

45

 

FailedToUpdateSubject

47

 

UserPermission

Naming

Code

 

UserPermissionDoesNotExist

49

 

UserPermissionAlreadyExist

50

 

CentreSubjectAssociation

Naming

Code

 

CentreSubjectAssociationNotExists

54

 

CentreSubjectAssociationAlreadyExists

55

 

CentreSubjectAssociationForMainCentre

56

 

CentreSubjectAssociationIsPrimary

57

 

TagGroup

Naming

Code

 

FailedToUpdateTagGroup

63

 

TagValue

Naming

Code

 

FailedToCreateTagValue

60

 

TagValueDoesNotExist

61

 

ItemTagValue

Naming

Code

 

FailedToCreateItemTagValue

62

 

FailedToDeleteItemTagValue

64

 

Folder

Naming

Code

 

FolderDoesNotExist

65

 

TestSession

Naming

Code

 

ChangingTestSessionStateCannotUpdateState

68

 

ChangingTestSessionStateUnknownError

69

 

ChangingTestSessionStateDatabaseError

70

 

ChangingTestSessionStateInsufficientPermissions

71

 

ChangingTestSessionStateErrorMovingState

72

 

ChangingTestSessionStateAssessmentIsNotValid

73

 

ChangingTestSessionStateXmlError

74

 

Item

Naming

Code

 

TooManyMultipleChoiceQuestions

75

 

TooManyMediaItems

76

 

TooManyCorrectAnswers

77

 

MustSpecifyOneItemType

78

 

UnknownItemType

79

 

MisMatchedItems

80

 


Feedback and Knowledge Base