Reputation: 123
Steps to reproduce:
This triggers a 403 permissions error: @ProjectPermissionDenied The Developer Console project is not permitted to make this request.
However, if I repeat the same steps using an assignment created via the API instead of the UI, everything works fine. I'm curious if this is a bug or if I'm doing something wrong.
Thanks,
Chris
Upvotes: 1
Views: 390
Reputation: 7741
You got ProjectPermissionDenied because some request in the Google Classroom API must only be made by the Developer Console project of the OAuth client ID, that is used to create the corresponding course work item.
Here is one example of that.
For creating assignment, I think this link will help you with that.
For more information, just read the documentation of Google Classroom API and check this related SO question.
Upvotes: 1