Upload score api

PraveenR
Community Member

We're having 2 questions

1. We are trying to upload the score back to gradebook assignments using the following API,
/api/lti/courses/1/line_items
We manually generated access token from canvas settings page and we tried it gives the following error,

{
    "errors": {
        "type""unauthorized",
        "message""Invalid access token format"
    }
}

2. When student launches the quiz, we're only getting ID_TOKEN back. So, is there any way we could get access token from id token? If NOT, can someone suggest how do we upload score?
0 Likes