adlnet / xAPIWrapper

Wrapper to simplify communication to an LRS
https://adlnet.gov/projects/xapi/
Apache License 2.0
219 stars 114 forks source link

Invalid launch parameters #105

Closed darshit7 closed 6 years ago

darshit7 commented 6 years ago

I got 'Invalid Launch Parameters' error while launching course build using adapt-authoring tool and tkhub xAPI plugin.

var wrapper;
ADL.launch(function(err, launchdata, xAPIWrapper) {
    if (!err) {
        wrapper = xAPIWrapper;
        console.log("--- content launched via xAPI Launch ---\n", wrapper.lrs, "\n", launchdata);
    } else {
       console.log(err);
    }
    $('#endpoint').text(wrapper.lrs.endpoint);
}, true);

How to provide launch parameter?

darshit7 commented 6 years ago

launchdata is provied by xAPI-launch server. I have forgot to mentioned xapi-launch server host in config.json