Forum Discussion
Error - Unable to Acquire LM - API, Error in accessing SCROM content
We're implementing a Cross-Domain Architecture to host SCORM content on Amazon S3. However, when attempting to run the SCORM content on our openEDX LMS, we encounter the error "Error - Unable to acquire LMS - API". Can you provide guidance on resolving this issue?
We are this error on debugging
0:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - AICCComm - intReCheckLoadedInterval=250
1:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - AICCComm - intReCheckAttemptsBeforeTimeout=240
2:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - ----------------------------------------
3:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - ----------------------------------------
4:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In Start - Version: 3.8.2 Last Modified=08/25/2023 11:41:31
5:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Browser Info (Netscape 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36)
6:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - URL: https://resources.risemohfw.in/media/scorm/2fa6ef558464452fa46e20f741c4ae97/index_lms_html5.html
7:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - ----------------------------------------
8:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - ----------------------------------------
9:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In ClearErrorInfo
10:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - GetQueryStringValue Element 'StandAlone' Not Found, Returning: empty string
11:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - GetQueryStringValue Element 'ShowDebug' Not Found, Returning: empty string
12:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - strStandAlone= strShowInteractiveDebug=
13:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Standard From Configuration File - SCORM
14:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Using Standard From Configuration File - SCORM
15:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In LMSStandardAPI strStandard=SCORM
16:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Calling Standard Initialize
17:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_Initialize
18:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_ClearErrorInfo
19:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Grabbing API
20:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_GrabAPI
21:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Searching with improved ADL algorithm
22:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_GetAPI
23:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - SCORM_SearchForAPI
24:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
25:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
26:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_WindowHasParent
27:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Window Does Not Have Parent
28:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
29:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
30:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_WindowHasOpener
31:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Window Does Not Have Opener
32:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
33:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
34:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Looking in children - Name=, href=https://resources.risemohfw.in/media/scorm/2fa6ef558464452fa46e20f741c4ae97/index_lms_html5.html
35:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - SCORM_LookInChildren
36:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Looking in child frame 0
37:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
38:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
39:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Looking in this child's children Name=, href=https://resources.risemohfw.in/media/scorm/2fa6ef558464452fa46e20f741c4ae97/index_lms_html5.html
40:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - SCORM_LookInChildren
41:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Looking in child frame 0
42:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
43:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
44:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Looking in this child's children Name=AICCComm, href=https://resources.risemohfw.in/media/scorm/2fa6ef558464452fa46e20f741c4ae97/lms/AICCComm.html
45:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - SCORM_LookInChildren
46:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
47:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
48:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
49:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
50:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Looking in child frame 1
51:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
52:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
53:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Looking in this child's children Name=, href=https://resources.risemohfw.in/media/scorm/2fa6ef558464452fa46e20f741c4ae97/index_lms_html5.html
54:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - SCORM_LookInChildren
55:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
56:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
57:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Looking in child frame 2
58:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
59:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
60:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Looking in this child's children Name=, href=https://resources.risemohfw.in/media/scorm/2fa6ef558464452fa46e20f741c4ae97/index_lms_html5.html
61:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - SCORM_LookInChildren
62:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
63:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
64:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Looking in child frame 3
65:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
66:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
67:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Looking in this child's children Name=, href=https://resources.risemohfw.in/media/scorm/2fa6ef558464452fa46e20f741c4ae97/index_lms_html5.html
68:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - SCORM_LookInChildren
69:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
70:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
71:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In SCORM_APIFound
72:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - API NOT Found
73:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Didn't find API in this window - Name=, href=https://resources.risemohfw.in/media/scorm/2fa6ef558464452fa46e20f741c4ae97/index_lms_html5.html
74:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - SCORM_GrabAPI, returning
75:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - Unable to acquire SCORM API:
76:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - SCORM_objAPI=object
77:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In InitializeExecuted, blnSuccess=false, strErrorMessage=Error - unable to acquire LMS API, content may not play properly and results may not be recorded. Please contact technical support.
78:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - ERROR - LMS Initialize Failed
79:Wed May 08 2024 10:41:16 GMT+0530 (India Standard Time) - In DisplayError, strMessage=Error - unable to acquire LMS API, content may not play properly and results may not be recorded. Please contact technical support.
80:Wed May 08 2024 10:41:18 GMT+0530 (India Standard Time) - In IsLoaded, returning -false
81:Wed May 08 2024 10:41:18 GMT+0530 (India Standard Time) - AICCComm - IFrameLoaded
82:Wed May 08 2024 10:41:18 GMT+0530 (India Standard Time) - In IsLoaded, returning -false
83:Wed May 08 2024 10:41:18 GMT+0530 (India Standard Time) - AICCComm - In GetAICCURL
84:Wed May 08 2024 10:41:18 GMT+0530 (India Standard Time) - GetQueryStringValue Element 'AICC_URL' Not Found, Returning: empty string
85:Wed May 08 2024 10:41:18 GMT+0530 (India Standard Time) - AICCComm - Querystring value =
86:Wed May 08 2024 10:41:18 GMT+0530 (India Standard Time) - AICCComm - GetAICCURL returning:
87:Wed May 08 2024 10:41:18 GMT+0530 (India Standard Time) - AICCComm - In DetectPreferredCommMethod, checking XMLHTTP
88:Wed May 08 2024 10:41:18 GMT+0530 (India Standard Time) - AICCComm - Checking IFrame
89:Wed May 08 2024 10:41:18 GMT+0530 (India Standard Time) - AICCComm - blnCanUseXMLHTTP=true
90:Wed May 08 2024 10:41:18 GMT+0530 (India Standard Time) - AICCComm - blnCanUseIFrame=true
Hi Amit!
Sorry to hear you've run into this setback!
A helpful first step would be testing how the course performs in SCORM Cloud. It's a virtual LMS environment we use to determine if an issue lies with a project file, or the LMS itself. If the course launches and runs successfully in SCORM Cloud, then the issue is likely LMS-related. If the same behavior can be observed when testing in SCORM Cloud, please connect with our support engineers through a support case.
We'd be happy to continue troubleshooting with you!