Access CanvasAPI- Invalid Access Token
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello- I am new to using Canvas API. I followed this community forums to understand to how to generate tokens and make an browser based API Call.
I am an Admin on our canvas account. I followed the below link and generated a token.
Then, I went to the below URL :
https://youraccountname.instructure.com/doc/api/live#!/
I input my token at the top of the page and clicked on "Save".
I scrolled down to "Grading Standards" and clicked to expand "GET /V1/accounts/{accounts_id}/grading_standards
Enetred Account_id as "1" and clicked on "Try it out".
Below is what I received .
{ "errors": [ { "message": "Invalid access token." } ] }
I might be missing something. Can someone help me with this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is resovled. My assumption that account_id= 1 is wrong. I got the correct account_id and it works.