Clever LMS Connect - Grade Passback API Error Responses
The table below lists specific Grade Passback API Error messages and what actions trigger the error.
| Action | HTTP Code | Clever API Response |
|---|---|---|
| Did not include required fields when creating an assignment | 400 | {"message":"missing required field(s): title, description, due_date"} |
| Did not include request body when creating an assignment | 400 | {"message":"request body is required, but was empty"} |
| Due_date value provided references a date in the past | 400 | {"message":"due_date must be in the future"} |
| Invalid character provided in request body | 400 | Invalid character ' ' in string escape code |
| Did not include a value for submission_types | 400 | {"message":"validation failure list:\nsubmission_types.0 in body should be one of [link file text discussion]"} |
| Did not include a value for a field in the request body, but a comma is present in JSON formatting E.g.: {"assignee_mode": ,} | 400 | {"message":"invalid character ',' looking for beginning of value"} |
| Invalid JSON formatting | 400 | {"message":"invalid character ':' after object key:value pair"} |
| GET call to /sections/{id}/assignments/{id} with a misconfigured/invalid assignment ID | 400 | {"message":"INVALID_ID"} |
| Updating a submission with an invalid teacher Clever ID value for grader_id | 400 | {"message":"NOT_FOUND: Person with id clever:{{lms_canvas_demo_teacher_id}} not found for this integration."} |
| Attempting to update an assignment due date to a date in the past | 400 | {"message":"parsing time \"YYYY-MM-DD\": day out of range"} |
| Did not include District-app token in API call | 401 | {"message": "No authorization provided"} |
| Incorrect/invalid token provided in request | 403 | {"message": "Could not authorize token"} |
| GET call after assignment has been deleted (in LMS UI or via DEL call) | 404 | {"message":"Assignment does not exist"} |
| Querying or updating submissions for a user not currently enrolled in section or assigned to the assignment | 404 | {"message":"User not found"} |
| Using an unsupported HTTP method in API query | 405 (method not allowed) | Empty message |
Updated 3 days ago
