Google Classroom API modifyAttachments

后端 未结 3 1920
陌清茗
陌清茗 2020-12-12 03:45

When executing the courses.courseWork.studentSubmissions.modifyAttachments method in the Google Classroom API, a 403 error is returned when I try to add the att

3条回答
  •  孤城傲影
    2020-12-12 04:25

    When modifying assignments/courseWork or student submissions, only the Developer console project that created those objects can modify them. This means that only projects that created the corresponding course work can modify them, otherwise a 403 PERMISSION_DENIED error is returned. You can easily determine if the course work item is associated with the Developer Console project making the request by checking the associatedWithDeveloper property on the Google Classroom course work response.

提交回复
热议问题