issue while Launching the story line package from LMS

Jan 08, 2016

I need your help . Actually I am launching the storyline package from our LMS application after uploading it.

I am doing as follows.

Step 1) I am uploading the package in LMS.

Step 2) I have to save the status of the package in the database so I need to launch it from LMS only.

Step 3) I am creating the launch URl as follows

 

function OnLoad() {

    var auth = 'Basic ' + Auth;

    var endpoint = EndPoint; //this is the relative path of my rest service to save the status of the package in Database

    var actor = { "mbox": ActorEmail, "name": ActorName };

    var path = domain + PckagePath;

    path = path + '/' + LaunchPage;

 

    var link = path +

        "?endpoint=" + encodeURIComponent(endpoint) +

       "&auth=" + encodeURIComponent(auth) +

        "&actor=" + encodeURIComponent(JSON.stringify(actor)) +

        "&registration=" + encodeURIComponent(RegistrationKey) +

        "&activity_id=" + ActivityID;

 

    //assign the lesson link to ifreame

    document.getElementById("lessonFrame").setAttribute('src', link);

 

}

 

Please tell me if I am missing something because it is giving some Incorrect JSON also there is some authorization issue

If you ask I can send you the package of mine for which I am trying to launch.

My full launch URL is like below :

 http://localhost:38383/warehouse/2-2-0CEDB0A2B3325E50E946C0C8BD561A11-2016-01-05-01-37-21/story.html?endpoint=http://localhost:38383%2FxAPIStatementRESTService.svc%2F&auth=Basic%2080519be2-139a-4e1e-b99f-066a51967102%253aa870bb4c-a867-41d3-90f2-28e7f1b573ca&actor=%7B%22mbox%22%3A%22Tammy.Adkins%40nmhs.org%22%2C%22name%22%3A%22Adkins%2C%20Tammy%20%22%7D&registration=b17acdcc-6aba-44f4-b36f-510781c0e3b8&activity_id=http://6JTTMbEZ7nV_course_id

  

I have also tried by uploading the package at server which you have given like below but same issue:

 http://s3.amazonaws.com/tempshare-stage.storyline.articulate.com/stp1a8dreu1d53a1ue1d111d6018jr4/story.html?endpoint=http://localhost:38383%2FxAPIStatementRESTService.svc%2F&auth=Basic%2080519be2-139a-4e1e-b99f-066a51967102%253aa870bb4c-a867-41d3-90f2-28e7f1b573ca&actor=%7B%22mbox%22%3A%22Tammy.Adkins%40nmhs.org%22%2C%22name%22%3A%22Adkins%2C%20Tammy%20%22%7D&registration=b17acdcc-6aba-44f4-b36f-510781c0e3b8&activity_id=http://6JTTMbEZ7nV_course_id

6 Replies
Christie Pollick

Hi, Navneet -- So sorry to hear you are having difficulties with your course! Perhaps I am not understanding your question correctly, but can you please share if you are experiencing the same issue when you test your course on SCORM Cloud, as that is the recommended testing environment for LMS? You may also want to take a look at the following:

Troubleshooting LMS issues

How to Troubleshoot Your LMS with SCORM Cloud

Please let us know if that helps or if you still need more assistance! 

Navneet Kumar

I am getting error like below attached file while my launch url is below:

http://localhost:38383/warehouse/2-2-0CEDB0A2B3325E50E946C0C8BD561A11-2016-01-05-01-37-21/story.html?endpoint=http%3A%2F%2Flocalhost%3A38383%2FxAPIStatementRESTService.svc%2F&auth=Basic%2080519be2-139a-4e1e-b99f-066a51967102%253aa870bb4c-a867-41d3-90f2-28e7f1b573ca&actor=%7B%22mbox%22%3A%22Tammy.Adkins%40nmhs.org%22%2C%22name%22%3A%22Adkins%2C%20Tammy%20%22%7D&registration=b17acdcc-6aba-44f4-b36f-510781c0e3b8&activity_id=http://6JTTMbEZ7nV_course_id

Christie Pollick

Hi, Navneet -- Thanks so much for the additional details and for sharing your screenshot! According to this, "you may encounter the following error when attempting to view Tin Can API content:

Unable to connect to the server

There are two possible causes for this message:

No Internet Access

This issue will occur when content doesn't have Internet access and is unable to communicate with the LMS. To resolve it, re-establish your Internet connection and click Retry.

The LMS Is Rejecting the Data

You'll also encounter this issue if the LMS rejects the data being sent by the content. Contact your LMS provider for a solution."

Navneet Kumar

Actually i am a developer and i  have been ask to create api which launches the package after uploading it just like scorm cloud so i have no separate LMS provide client have given a published package to me.

I am attaching the package please look after it and help me to create a correct Launch URl

This discussion is closed. You can start a new discussion or contact Articulate Support.