Canvas API Access Tokens are not Working

roperera
Community Member

I am using Bitnami Amazon Machine Image of Canvas LMS and tried to access my Canvas LMS with API access token. Tried with the following API route but failed. Can Some one help me with this..??

I have generated the token as shown in the below image.

I have used the below route;

curl -H "Authorization: Bearer Y21N9JimVg4OOtGUc0RHjNKzXXd19f5KRjhZJAmdGDZmL2Td9izFjtkZvHHkbDlU" "http://localhost:8082/api/v1/courses"

 

Output: {"errors":[{"message":"Invalid access token."}]}

Is there any Configuration Changes needed to be done or else any other setting needed to be changed in order to access this..??

 
Labels (5)
0 Likes
Users who also had this question