Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29276 META- Web service improvements for 2.2
  3. MDL-29380

Try to reproduce "Invalid external api parameter: users (Only arrays accepted.)" for moodle_user_create_users

XMLWordPrintable

    • MOODLE_21_STABLE

      Someone had problem with 'moodle_user_create_users': http://moodle.org/mod/forum/discuss.php?d=184276

      Writing web service sample test client, I discovered that if the params was an object, the curl library that I used produced this error. I had to cast the object into an array to fix the issue of the library. It is probable that the same issue exist in Moodle core / Moodle client. More over the error message was not very clear.

      1- try to find out if the error message could be more helpful
      2- can we reproduce this error with the Moodle REST client ?

            jerome Jérôme Mouneyrac
            jerome Jérôme Mouneyrac
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.