Failed to register grader with Coursera.
asmod3us opened this issue · 4 comments
Slow getting there... my upload completed and I saw Assembly upload complete.
in stdout. After that I got the above error message.
Just to confirm, the course
parameter to the upload
command is the part after /teach/
in the coursera url, correct? There is no documentation on it, so that was my best guess. For item I used the id in the url pattern of the course admin section (/:courseId/author/outline/programming/:itemId/), and for part the ID displayed next to the grader title in the admin ui.
The details of the error message are:
Failed to register grader (authoring/programming/grid/_/66aa7db1f57e4ee68b3742b388816859/ibmiot_iot-coursera-grader_1.3.tar?AWSAccessKeyId=AKIAJEYKY2N42CX3KS5Q&Expires=1460550471&Signature=dVPu2Kf8fpXqV501z3KNc6jELWY%3D) with Coursera: {"errorCode":null,"message":"User UserId(18682376) is not authorized to edit course OnDemandCourseId(developer-iot)","details":null}
I do have access to the admin section of the course and I'm listed as a teaching assistant. Am I missing something else here? Is it possible to resolve this without re-uploading the grader again?
Thanks!
Ah, nvm, just re-read your question. The course name in the URL is the course slug. The course id is a UUID. @ngarg-coursera can you chime in on if there's an easier way than hitting the catalog API directly? (Your course id is: iRl53_BWEeW4_wr--Yv6Aw
.)
Ah, I see. That would explain the missing access. Let me try again with the correct id. Probably worth adding a pointer to the catalog API docu?
Help text looks good to me. I've got the cli upload working now.