636 questions
1
vote
1
answer
161
views
Is there a way to add a grading category when creating coursework using the Google Classroom API?
When creating coursework via the Google Classroom API, there is a method called setGradeCategory(), which takes a grade category object as input. When setting the grade category, the assignment is ...
0
votes
1
answer
134
views
Google Classroom create coursework
After listing coursework and iterating through each, creation of the coursework in another classroom fails. The coursework is found ("Activity 1: Introductions"), but get this set of errors....
0
votes
2
answers
146
views
App script API fails to return Course Materials
Attempting to retrieve course materials using the code below reports "no Materials found" but the Classroom has multiple entries as Posted and Draft. All scopes are in place and a similar ...
0
votes
1
answer
128
views
Google Classroom Call to retrieve Topics, Coursework and Materials returns null
I am trying to retrieve Topics, courseWork and Materials from a classroom to eventually populate a new class (in another step), but I am failing at the first hurdle since the call to the source ...
0
votes
1
answer
66
views
403 Forbidden error when using Google Classroom Studentsubmission.patch
def grade_submissions(service, course_id, coursework_id, submissions, grade):
for submission in submissions:
submission_id = submission.get('id') # Get the submission ID
try:
...
0
votes
1
answer
106
views
End to End Encryption with Google (Classroom, Docs, Sheets, Drive) APIs Architecture
Is it possible to implement Google OAuth in client-side code so that I can call googleapis with an OAuth Object as follows:
const studentData = await classroom.courses.students.list({
courseId,
...
0
votes
1
answer
296
views
Error with status code 404 accessing resources with the Google Classroom API ("access-control-allow-origin" header)
In the authentication process for accessing user resources through the Classroom API, I get a error with status code 404 return right after sending the authorization token to the Classroom API and ...
0
votes
1
answer
80
views
Trying to get the list of courseWork of Classroom API with javascript (error "the required parameter courseId is empty")
I am trying to get the list of courseWork for a specific course. I access an iteration of the courses and when the appropriate course arrives successfully I use the following code to get the ...
0
votes
1
answer
194
views
Google Classroom 400 "admin_policy_enforced" despite being trusted app
I am getting a 400 admin_policy_enforced error, with no other information, when a student tries to login to my service via oauth2 with google. We are testing the service with 2 separate schools ...
0
votes
1
answer
110
views
App script to remove students from a classroom
From elswhere in stack exchange, I have found references to these code snippets working successfully, but fail when I run them.
Two sets of code below both of which result in an error - 'the requested ...
0
votes
1
answer
230
views
Google Classroom Overall Grades are Off
I noticed that my code was wrong when trying to calculate the overall grade in Google Classroom. I decided to check some values through a spreadsheet. However, I noticed that even when I calculate ...
1
vote
0
answers
93
views
Google Classroom API Invitations not sending emails
Google classroom invite emails are not being sent. The user does not receive emails or even show up in their google classroom home page. However when I check the people tab they are there. It shows ...
1
vote
0
answers
65
views
Submission History of student is mismatched
I tried to fetch the details of a student for a particular assignment in Google Classroom using the following API: /v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions.
From this API, I ...
0
votes
1
answer
220
views
Permission error accessing attachments of a Classroom assignment with c#
With the code of the method that I put below I try to obtain the list of add-on attachments of a Classroom assignment. I access with the account of the teacher of the class and as you can see at the ...
1
vote
0
answers
134
views
How to fix '@ProjectPermissionDenied The Developer Console project is not permitted to make this request.'
errors: [
{
message: '@ProjectPermissionDenied The Developer Console project is not permitted to make this request.',
domain: 'global',
reason: 'forbidden'
}
],
When I try to create ...