[ARCHIVED] Trouble using "lti_context_id:NNNNN" as :course_id in REST API routes

davidperkowski
Community Novice

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!

Labels (2)
0 Likes