| Condition | error message |
|---|---|
Invalid State provided. Valid States are OPEN and SURVEY only. | Assessment State must only be OPEN or SURVEY |
When the Respondent creates the assessment. All User Roles can create an assessment except the Respondent. | User does not have the right to create an assessment. |
| If the assessment owner provided is not a system user. | No user found for Assessment Owner |
| Using a Deactivated or OPEN template. | Templates should be Published and Activated. Please input a template that is in Published State and is Activated. |
| Using unknown template | No Result for Project Template with name: “<templateNameProvided>”. |
| When there is no assessment owner in the assessment configuration being used and no assessment owner provided in the payload. | Assessment Owner must NOT be null. Please use either an assessment config with Assessment Owner or include them in your request. |
| If there are no approvers included in the payload. | Approvals must NOT be null. Please use either an assessment config with approvals or include them in your request. |
| If there are no respondents included in the payload. | Respondents must NOT be null. Please use either an assessment config with Respondents or include them in your request. |
| If the Assessment Template is not included in the request. | Assessment Template name must NOT be null. |
| When the assessment name is already existing. | Assessment with name: <assessmentNameProvided> already exists. Please choose a new name. |
| When the assessment Config being used does not exist. | Assessment Config with name <assessmentConfigNameProvided> does not exist. |
| When assessment name is not included in the request. | Assessment must not have an empty name field. |
| When there is no approver in the assessment configuration being used and no approver provided in the payload. | Approvals must NOT be null. Please use either an assessment config with approvals or include them in your request. |
| When there is no respondent in the assessment configuration being used and respondent provided in the payload. | Respondents must NOT be null. Please use either an assessment config with Respondents or include them in your request. |
| When approver is provided without username or email. | Please input username/email for Approver |
| When the respondent is provided without username or email. | Please input username/email for Respondent |
| When the participant is provided without username or email. | Please input username/email for Participant |
| When there is no firstName AND/OR lastName provided. | First name AND last name must not be null for ex. Assessment Owner |
| Invalid Token | Cannot convert access token to JSON |
| Expired Token | Access token expired: <token_here> |