Canvas API for external tool not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When we create a new assignment with external tool settings(using Canvas API) it creates everything perfectly but the link for Vocareum assignment(External tool) does not take us to the assignment. Instead it throws LTI 1.3 Course Data Not Found
error.
But, when we create another new assignment with the external tool link same as Vocareum assignment LTI link our previous assignment(the one created through Canvas API) starts working too.
Example call to Canvas we are using -
curl 'https://xxx.instructure.com/api/v1/courses/xxx/assignments' -X POST -F 'assignment[name]=Vocareum Assignment' -F 'assignment[submission_types][]=external_tool' -F 'assignment[external_tool_tag_attributes][url]=https://labs.vocareum.com/lti/launch.php?assignment=xxxxxx' -F 'assignment[external_tool_tag_attributes][new_tab]=true' -H 'Authorization: Bearer XXXXXXXXXXXXXXX'
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there @RohitJain !
I reviewed your api call format and could not find anything wrong with that, so it may be an integration issue with the LTI itself. I would recommend contacting our support team to have them take a closer look! How do I contact Canvas Support?