" PERMISSION_DENIED"在使用" courseState":" ACTIVE"?

时间:2018-04-23 16:11:06

标签: google-classroom

我正在努力创建一个状态为ACTIVE的课程。 当我像这样请求OAuth 2.0时:

{
 "name": "New Course",
 "ownerId": "me",
 "courseState": "ACTIVE"
}

我明白了:

{
 "error": {
  "code": 403,
  "message": "@CourseStateDenied This user cannot create or transition courses into the requested state.",
  "status": "PERMISSION_DENIED"
 }
}

我怎样才能让它发挥作用?提前谢谢。

0 个答案:

没有答案