No acces to api while logged out with user generated token

Jump to solution
woutervanmulken
Community Novice

I'm having a problem with the user generated acces token. I have generated a acces token manually as a student in the settings and when i try to call the api i have to be logged in to canvas to be able to acces the API. So when i call the api even with the ?acces_token variable while logged out i get a 401 error.

Am i doing something wrong, or does this have something to do with me being a student ?

Labels (1)
1 Solution
aclement
Community Novice

You should be able to test that you are using your access token correctly by just directing your browser to this url: https://{{your canvas domain here}}/api/v1/courses?access_token={{your access token}}. Does that work?

View solution in original post