AnsweredAssumed Answered

Couldn't find User(s) with API ids 'sis_login_id:ID'

Question asked by S P on Oct 28, 2019
Latest reply on Oct 29, 2019 by James Jones

Hi. I've figured out everything that I needed, now there's only one thing that confuses me. A simple curl from the official documentation doesn't go through for me:

curl 'https://----.instructure.com/api/v1/courses/----/assignments/----/submissions/update_grades' -X POST -F 'grade_data[sis_login_id:UNIQNAME][posted_grade]=9' -H 'Authorization: Bearer ----'

The error I'm getting is the following:

while(1);{"id":1272421,"context_id":315933,"context_type":"Course","user_id":null,"tag":"submissions_update","completion":null,"workflow_state":"failed","created_at":"2019-10-28T14:12:49Z","updated_at":"2019-10-28T14:12:49Z","message":"Couldn't find User(s) with API ids 'sis_login_id:UNIQNAME'","url":"https://---.instructure.com/api/v1/progress/1272421"}

What can be going wrong? UNIQNAME is the unique identifier my school uses and I've made sure I'm submitting a valid one.

Outcomes