diff --git a/src/core/features/grades/services/handlers/course-option.ts b/src/core/features/grades/services/handlers/course-option.ts index 21fb0053b..7c9049339 100644 --- a/src/core/features/grades/services/handlers/course-option.ts +++ b/src/core/features/grades/services/handlers/course-option.ts @@ -100,7 +100,16 @@ export class CoreGradesCourseOptionHandlerService implements CoreCourseOptionsHa * @return Promise resolved when done. */ async prefetch(course: CoreEnrolledCourseDataWithExtraInfoAndOptions): Promise { - await CoreGrades.getCourseGradesTable(course.id, undefined, undefined, true); + try { + await CoreGrades.getCourseGradesTable(course.id, undefined, undefined, true); + } catch (error) { + if (error.errorcode === 'notingroup') { + // Don't fail the download because of this error. + return; + } + + throw error; + } } }