Trouble using "lti_context_id:NNNNN" as :course_id in REST API routes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2020
12:09 PM
Hello,
I'm using the Canvas API to manage assignments in a Canvas course following an LTI launch. I have successfully used the LTI context identifier passed in the LTI launch's context_id parameter in the API to do various things in the past, like list assignments.
I am working with a newly installed Canvas instance (not hosted by Instructure) and I noticed that using the lti_context_id:NNNN value in place of the Canvas ID for the course in the API URL results in a 404 (with a JSON result) rather than the expected action.
I can use the Canvas Course ID in the URL without issue.
Does anyone know what might be causing this?
Thanks!