AnsweredAssumed Answered

Keep getting a 401 when trying to access an endpoint

Question asked by Donovan Jenkins on Sep 10, 2018
Latest reply on Sep 11, 2018 by Peter Love

Hello! I'd like to start out by saying i'm VERY new to APIs in general.

 

I'm aiding in a research project through my school, and have access to a temporary teaching account for testing purposes.

 

I'm attempting to pull all student grade data through a python GET request.

 

Here's the url that's returning a 401.
"https://canvas.instructure.com/api/v1/courses/xxxxxxx/enrollments?access_token=7~xxxxx..."

 

I received the access token from profile->settings

 

Perhaps the domain is wrong? However, this is the link that appears when I navigate my class' page. The class is not running through an institution in any way if that makes a difference.

 

Thank you in advance!

Outcomes