Skip to main content
Participant
December 7, 2023
Question

Error: Unable To Acquire LMS API

  • December 7, 2023
  • 2 replies
  • 591 views

Hi! To preface, I am new to Captivate and elearning and using Captivate 2019 currently. I have an elearning course for SCORM 1.2 that doesn't have any type of quiz. Each slide consists of a different video and then the Full Course slide will prompt a user to watch the full video and once they reach the end a certificate button will pop up. The only Java script I have is to print the certificate once they get to that point. Any ideas on why that error pops up when using the course from the client LMS but doesn't show up when testing on SCORM Cloud? Below is a debug log from SCORM Cloud. I can't figure out what the 'LMSGetLastError() returned '0' in 0 seconds' is referring to or if that is even the issue.

 

    [15:36:30.921] Beginning prerequisites evaluation of activity Course_ID1_ORG
    [15:36:30.921] Beginning prerequisites evaluation of activity Course_ID1_ORG
    [15:36:30.921] Beginning prerequisites evaluation of activity SCO_PB01
- [15:36:32.622] LMSInitialize('') returned 'true' in 0 seconds
[15:36:32.622] Checking for Initialize Error
[15:36:32.622] Call is error free.
+ [15:36:32.622] LMSGetValue('cmi.core.lesson_mode') returned 'review' in 0 seconds
    [15:36:32.622] LMSGetLastError() returned '0' in 0 seconds
+ [15:36:32.623] LMSGetValue('cmi.core.entry') returned '' in 0 seconds
    [15:36:32.623] LMSGetLastError() returned '0' in 0 seconds
+ [15:36:32.623] LMSGetValue('cmi.core.lesson_location') returned 'Certificate%20Full%20Course%20Video' in 0 seconds
    [15:36:32.623] LMSGetLastError() returned '0' in 0 seconds
+ [15:36:32.623] LMSGetValue('cmi.suspend_data') returned 'g1A%24nP1A%24nP0A%24nP1A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP1A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP1A%24nP1A%24nP1A%24nP1A%24nPLRText_Entry_Box_11BAQText_Entry_Box_2BAQText_Entry_Box_3BAQText_Entry_Box_4BAQText_Entry_Box_5BAQText_Entry_Box_6BAP_MockVideoVisitBBTcpQuizInfoStudentIDBAVcpQuizInfoStudentNameAPZi%2C%20AlIusernameAHallisonQcpQuizHandledAllBA$_#-#_$' in 0 seconds
    [15:36:32.623] LMSGetLastError() returned '0' in 0 seconds
+ [15:36:32.636] LMSGetValue('cmi.core.student_name') returned 'Ziemba, Allison' in 0 seconds
    [15:36:32.636] LMSGetLastError() returned '0' in 0 seconds
+ [15:36:34.299] LMSSetValue('cmi.core.lesson_status', 'completed') returned 'true' in 0.001 seconds
+ [15:36:34.301] LMSSetValue('cmi.core.lesson_location', 'Certificate%20Full%20Course%20Video') returned 'true' in 0 seconds
+ [15:36:34.302] LMSSetValue('cmi.suspend_data', 'g1A%24nP1A%24nP0A%24nP1A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP1A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP1A%24nP1A%24nP1A%24nP1A%24nPLRText_Entry_Box_11BAQText_Entry_Box_2BAQText_Entry_Box_3BAQText_Entry_Box_4BAQText_Entry_Box_5BAQText_Entry_Box_6BAP_MockVideoVisitBBTcpQuizInfoStudentIDBAVcpQuizInfoStudentNameAPZi%2C%20AlIusernameAHallisonQcpQuizHandledAllBA$_#-#_$') returned 'true' in 0 seconds
+ [15:37:26.629] LMSSetValue('cmi.core.lesson_status', 'completed') returned 'true' in 0.001 seconds
+ [15:37:26.630] LMSSetValue('cmi.core.lesson_location', 'Certificate%20Full%20Course%20Video') returned 'true' in 0 seconds
+ [15:37:26.630] LMSSetValue('cmi.suspend_data', 'g1A%24nP1A%24nP0A%24nP1A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP1A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP1A%24nP1A%24nP1A%24nP1A%24nPLRText_Entry_Box_11BAQText_Entry_Box_2BAQText_Entry_Box_3BAQText_Entry_Box_4BAQText_Entry_Box_5BAQText_Entry_Box_6BAP_MockVideoVisitBBTcpQuizInfoStudentIDBAVcpQuizInfoStudentNameAPZi%2C%20AlIusernameAHallisonQcpQuizHandledAllBA$_#-#_$') returned 'true' in 0 seconds
+ [15:37:26.631] LMSSetValue('cmi.core.session_time', '0000:00:54.0') returned 'true' in 0 seconds
+ [15:37:26.639] LMSCommit('') returned 'true' in 0 seconds
+ [15:37:26.639] LMSGetValue('cmi.core.lesson_status') returned 'completed' in 0 seconds
    [15:37:26.639] LMSGetLastError() returned '0' in 0 seconds
+ [15:37:26.639] LMSSetValue('cmi.core.session_time', '0000:00:54.1') returned 'true' in 0 seconds
+ [15:37:26.639] LMSSetValue('cmi.core.exit', 'suspend') returned 'true' in 0 seconds
+ [15:37:26.639] LMSCommit('') returned 'true' in 0 seconds
+ [15:37:26.639] LMSFinish('') returned 'true' in 0.001 seconds
- [15:37:26.640] Pre-evaluation of exit action
[15:37:26.640] Using finalScoCourseSatisfiedSuspendExitAction parameter
- [15:37:26.854] OverallSequencingProcess for SCORM 1.1 / SCORM 1.2
[15:37:26.854] Transferring RTE data to Activity data
[15:37:26.854] Rolling up activity data
[15:37:26.854] Checking for first SCO pretest
[15:37:26.854] Using finalScoCourseSatisfiedSuspendExitAction parameter
[15:37:26.854] No API Runtime Nav Request, exit action=exit,no confirmation
    This topic has been closed for replies.

    2 replies

    RodWard
    Community Expert
    Community Expert
    December 7, 2023

    This error message usually indicates that the LMS cannot communicate with your module's SCORM API.  Most LMSs will easily work with Captivate's SCORM code.  But occasionally you may run into this issue because not all LMSs approach the problem the same way.

     

    Ideally your client's LMS vendor will have technical staff that will be able to indicate why their LMS might not be happy.  You should try to get your client to ask the vendor for help with this problem.

     

    While you wait, you might also try the following suggestions.

     

    Some LMSs actually require there to be some kind of score generated by the user interacting with the course.  Your LMS may be one of those.

     

    To test out whether this IS the problem, my suggestion is that you add a scored component to the module so that something reports a score to the LMS.  This could be a simple True/False quiz question that allows the user to indicate they have watched all videos, or even just a button on a slide near the end of the course and require the user to click that button to continue.  You could just make that button that executes the JavaScript to call the PRINT dialog be the one that has a score to report to the quiz.

    Participant
    December 8, 2023

    Thank you for your reply! That is very helpful. I'll test out adding a button that can report a score to the quiz. I'm finally in talks with connecting with someone who can troubleshoot on the LMS side of things but also appreciate having something else to offer as a possible solution. 

    Participant
    December 7, 2023

    Forgot to mention, that you are still able to continue with the course after clicking on the error message.