Issues connecting to Canvas LMS using Advantage LTI

Issues connecting to Canvas LMS using Advantage LTI

by Gareth Harris -
Number of replies: 4

Hi All

I am having difficulties connecting to Canvas from Moodle using Advantage LTI.

I'm getting this error message.

image.png

I'm not familiar with Canvas so does anyone have any Canvas tips.

Thanks

Gareth

Average of ratings: -
In reply to Gareth Harris

Re: Issues connecting to Canvas LMS using Advantage LTI

by Liam Moran -
Sary ny Core developers
This post (and its parent) from a few months back has a setup procedure that is known to work.
In reply to Liam Moran

Re: Issues connecting to Canvas LMS using Advantage LTI

by Gareth Harris -

Thanks Liam, much appreciate your help.

In reply to Liam Moran

Re: Issues connecting to Canvas LMS using Advantage LTI

by Gareth Harris -
Thanks Liam, We have followed these procedures and still getting an error. Any thoughts?
Attachment image.png
In reply to Gareth Harris

Re: Issues connecting to Canvas LMS using Advantage LTI

by Liam Moran -
Sary ny Core developers

Where are you getting this error, or can you enable debugging on this environment to see the output of exactly what's calling it? It's almost surely being thrown by a call to create a URL string on a MoodleURL object, but being called on a variable with a string type.

Also, did you use the documentation on Charles' github at the end of that thread? That's for a very specific use-case where you want everyone using the LTI tool to see one specific quiz, course, or other "Published as LTI" resource. Typically, you would want to set it up so that users can use deep-linking to select the resources they want to publish, since that's the killer feature for LTI versions higher than 1.1