API Code to recognize the maximum number of allowed attempts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2023
02:56 PM
Hi everyone,
We are using the Grade Services API, and we need to identify the error: "422 The maximum number of allowed attempts has been reached for this submission" in our api calls, so exists a better way to identify this error, different from just verify the 422 code?, the code already uses for other types of errors:
422 | This course has concluded. AGS requests will no longer be accepted for this course. | Reopen the specified course or stop sending requests for this course | Only returned if the ags_improved_course_concluded_response_codes feature flag is enabled |
422 | User not found in course or is not a student | Ensure the user you're specifying exists or is a student | |
422 | ScoreMaximum must be greater than or equal to 0 | Ensure you're passing a valid value for ScoreMaximum | |
422 | ScoreMaximum not supplied when ScoreGiven present | Ensure you're providing a ScoreMaximum in any request with a ScoreGiven | |
422 | Content items must be provided with submission type 'online_upload' | Ensure you specify the correct submission type when providing submission files | |
422 | The maximum number of allowed attempts has been reached for this submission | Add additional attempts or stop sending submission requests for the specified student |
I'll appreciate your suggestions!