Not to hijack this thread, but we encountered the error message above in
a Mahara/Canvas implementation, along with a similar-but-different
parameter issue. Mentioning it here in case others encounter also.

After adding the Canvas-specific parameters to the module_lti_launch.php
file, we found Admin could connect, but a regular user received an error
as above except citing the missing parameter,
"lis_course_offering_sourcedid".

This parameter was missing from the module_lti_launch.php file as well.

We note that lis_course_offering_sourcedid is described in Section 6 of
the Basic LTI Implementation Guide, Version 1, May 17, 2010 - Final
(see:  https://www.imsglobal.org/specs/ltiv1p0/implementation-guide).

Have added that parameter to the file as well as:

'lis_course_offering_sourcedid' => new external_value(PARAM_TEXT, 'LTI
lis_course_offering_sourcedid', VALUE_OPTIONAL),

which seems to have cured the problem.

Looking forward to the "long term solution" alluded to above!

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1697909

Title:
  LTI (Canvas) gives exception: WebserviceInvalidParameterException

Status in Mahara:
  Confirmed
Status in Mahara 17.04 series:
  Confirmed
Status in Mahara 17.10 series:
  Confirmed

Bug description:
  Having set up LTI in Mahara and provided Canvas with the Key/Secret
  and Launch URL:

  http://mahara-dev.stir.ac.uk/webservice/rest/server.php

  and custom parameter:

  wsfunction=module_lti_launch

  Clicking on the Mahara link gets:

  <EXCEPTION
  
class="WebserviceInvalidParameterException"><ERRORCODE>invalidparameter</ERRORCODE><MESSAGE>Invalid
  parameter value detected; execution cannot continue.  : Unexpected
  keys
  
(custom_canvas_course_uuid,custom_canvas_user_uuid,lis_course_offering_sourcedid,)
  detected in parameter array.</MESSAGE></EXCEPTION>

  similiar comes from Blackboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1697909/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to