Questionmark's Open Assessment Platform | Questionmark

Questionmark's Open Assessment Platform

Error codes

The QMWISe error codes are organized into the following categories:

Range Category
1 to 99 Specifies the file extension for Questionmark to Go assessments
100 to 999 Parameter errors
1000 to 1999 Operation errors
2000 to 2999 Configuration errors
3000 to 3999 Database errors
4000 to 4999 Internal errors

A typical error code and message would appear as follows:

<detail>

<error>1403</error>

<message>Operation error. Cannot modify Schedule.</message>

</detail>

The above example could occur when the web service methods called SetSchedule is requested.

The QMWISe methods in this guide all work to the same error code policies. Any error codes that are received for a method will fall into the categories listed in the table above.

Security errors

Error code Description
1 Security header required but missing
2 Client ID missing or blank
3 Client ID invalid
4 Client has insufficient rights
5 Checksum missing or blank
6 Checksum invalid
7 Trust header required but missing
8 Trust header has wrong format
9 Encoding missing or blank
10 Encoding not recognized
11 Digest missing or blank
12 Signature missing or blank
13 Invalid signature
14 Invalid digest
15 Requires license update

Parameter errors

The following are the parameter errors that could occur when using QMWISe along with the accompanied error code:

Error code Description
101 Participant ID missing or blank
102 Participant ID invalid - 0 or cannot be converted to an integer
201 Group ID missing or blank
202 Group ID invalid - 0 or cannot be converted to an integer
301 Assessment ID missing or blank
302 Assessment ID invalid - 0 or cannot be converted to an integer
303 Assessment ID invalid - Must be 16 characters
401 Schedule ID missing or blank
402 Schedule ID invalid - 0 or cannot be converted to an integer
501 Result ID missing or blank
502 Result ID invalid - 0 or cannot be converted to an integer
601 Notification URL missing or blank
602 Administrator name missing or blank
603 Participant name missing or blank
701 Administrator ID missing or blank
702 Administrator ID invalid - 0 or cannot be converted to an integer
703 Profile name missing or blank
704 Profile ID missing or blank
705 Profile ID invalid - 0 or cannot be converted to an integer
801 Question ID missing or blank
802 Question ID invalid - 0 or cannot be converted to an integer
803 Question ID invalid - Must be 16 characters

Operation errors

The following are the operational errors that could occur when using QMWISe along with the accompanied error code:

Error code Description
1101 Cannot find participant
1102 Cannot create participant
1103 Cannot modify participant
1104 Cannot delete participant
1105 Cannot lock participant record
1106 Cannot create participant. Participant exists.
1107 Participant is not a member of the group
1201 Cannot find group
1202 Cannot create group
1203 Cannot modify group
1204 Cannot delete group
1205 Cannot lock group record
1206 Cannot find group membership
1207 Cannot create group membership
1208 Cannot modify group membership
1209 Cannot delete group membership
1210 Cannot find group ownership
1211 Cannot create group ownership
1212 Cannot modify group ownership
1213 Cannot delete group ownership
1214 Cannot create group. Group exists
1301 Cannot find assessment
1302 Cannot create assessment
1303 Cannot modify assessment
1304 Cannot delete assessment
1305 Cannot lock assessment record
1401 Cannot find schedule
1402 Cannot create schedule
1403 Cannot modify schedule
1404 Cannot delete schedule
1405 Cannot lock schedule record
1501 Cannot find result
1502 Cannot create result
1503 Cannot modify result
1504 Cannot delete result
1505 Cannot lock result record
1511 Cannot find assessment result
1512 Cannot create assessment result
1513 Cannot modify assessment result
1514 Cannot delete assessment result
1521 Cannot find question result
1522 Cannot create question result
1523 Cannot modify question result
1524 Cannot delete question result
1531 Cannot find outcome
1532 Cannot create outcome
1533 Cannot modify outcome
1534 Cannot delete outcome
1541 Cannot find answer
1542 Cannot create answer
1543 Cannot modify answer
1544 Cannot delete answer
1545 No correct answer found
1551 Cannot find feedback
1552 Cannot create feedback
1553 Cannot modify feedback
1554 Cannot delete feedback
1561 Cannot find topic score
1562 Cannot create topic score
1563 Cannot modify topic score
1564 Cannot delete topic score
1571 Cannot find comment
1572 Cannot create comment
1573 Cannot modify comment
1574 Cannot delete comment
1581 Cannot find topic
1582 Cannot create topic
1583 Cannot modify topic
1584 Cannot delete topic
1601 Cannot find administrator
1602 Cannot create administrator
1603 Cannot modify administrator
1604 Cannot delete administrator
1605 Cannot lock administrator record
1606 Cannot create administrator. Administrator exists.
1607 Cannot find profile
1608 Profile has the ability to use QMWISe
1701 Cannot find question
1702 Cannot create question
1703 Cannot modify question
1704 Cannot delete question
1705 Cannot find requested question
1706 Failed to encode question
1707 Failed to parse question QML
1708 Invalid revision number for this question
1709 The method does not support this question type
1801 Insufficient questions of the specified types are available to construct the assessment
1802 Expiry date missing or blank
1803 Invalid database connection string