Register for our next webinar, 5 Keys to Unlock Storytelling in Your eLearning, where you'll learn how to unlock the magic of storytelling in your eLearning development to increase learner engagement and retention! Join Andrew Townsend, our Campaign Marketing Manager, on Thursday, December 3, 2020 at 11:00 AM MDT.

Be The First On Your Block to Rock Lectora® 21!


Apply for exclusive early access to the latest version of Lectora® Desktop v21. Seating is limited so apply now!

In need of help with your eLearning? Feel free to ask a question of the community! You can also visit our Knowledge Base or, if you're in need of immediate assistance, submit a case to our Customer Success team.

What causes "Unable to find API adapter"?

benpitmanbenpitman Community Member Posts: 763
We have one location that is getting these messages in one course. We have many other courses that all work fine and other locations have no trouble with this course. Any ideas?



Unable to find an API adapter

they click okay

***Another popup appears:

Unable to locate the LMS's API implementation

Comments

  • jenbuttsjenbutts Community Member Posts: 1
    When the LMS is setup with a reverse proxy which consumes a bunch of the initial characters in the URL/path not using the ASCII short name will cause this error when the package is loaded. When I publish for SCORM I select the Short ASCII name feature so the course if loaded deep on a server will not lose the page relationships to one another.



    On occasion the publish wonks and let's one or two long named files into the .zip package. I delete all of the published files in the SCORM/HTML folder, double check I have the short ASCII checkbox enabled, and repackage. I double check the files in the package don't have any A001_really long name reference, and then load to LMS. Usually fixes the problem.



    I have also had it occur at the end if I used the wrong case or complete value. I have to remember our LMS is completed, and incomplete all lowercase no deviations.
  • mbradmbrad Community Member Posts: 2
    We have just sent our course into Trivantis. We are trying to upload a course to our LMS and are receiving the same errors. Unable to find API adapter and unable to locate the LMS's API Implementation. LMSGetValue was not successful. We are now on version 11.3.2 (9293)



    Three of us have tried and no success.
  • gian-almiranezgian-almiranez Community Member Posts: 5
    Hi,



    Is there a solution to this?



    We have the same problem and the only solution we can do is when we upload the course on scorm cloud, we check the Wrap SCO course settings. However, when the client uploads it on their system, they get the same API error. What should we do to fix it?
  • ssnegssneg Community Member Posts: 1,466
    The API error means one thing: your SCORM course is trying to talk to LMS but it doesn't answer. If your Lectora content plays in SCORM Cloud and doesn't play in your LMS, you should blame your LMS.



    Are you sure you uploaded it to your LMS and set everything up correctly? Are SCORM versions (1.2 vs 2004) matching?
  • gian-almiranezgian-almiranez Community Member Posts: 5
    @ssneg 60854 wrote:
    The API error means one thing: your SCORM course is trying to talk to LMS but it doesn't answer. If your Lectora content plays in SCORM Cloud and doesn't play in your LMS, you should blame your LMS.



    Are you sure you uploaded it to your LMS and set everything up correctly? Are SCORM versions (1.2 vs 2004) matching?


    Ok. When we upload the course on scorm cloud, the api error appears but when we check the Wrap SCO in the course settings, the error disappears.



    Yes the LMS is scorm 1.2.
  • ssnegssneg Community Member Posts: 1,466
    Ok, now if the API error appears in SCORM Cloud, this means your content doesn't work as SCORM. Are you sure you published it to SCORM and not AICC or something? It's difficult to say much more without actually seeing the content. If you want, you can send it to [email protected]tea.lv and I'll take a look. Or get in touch with [email protected], they are very helpful.
  • gian-almiranezgian-almiranez Community Member Posts: 5
    @ssneg 60862 wrote:
    Ok, now if the API error appears in SCORM Cloud, this means your content doesn't work as SCORM. Are you sure you published it to SCORM and not AICC or something? It's difficult to say much more without actually seeing the content. If you want, you can send it to [email protected] and I'll take a look. Or get in touch with [email protected], they are very helpful.


    Ok. I think we found an error. We are putting a code in the scorm package that creates the API error. Thank you for the replies. I really appreciate it. At least I understand what API error means.
  • sjendrisaksjendrisak Community Member Posts: 4
    Hello Gian -  you mention that you found the error in putting a code in the SCORM package - can you elaborate? We are getting the same error message and I cannot figure it out...

     

    Thanks!
  • timktimk Community Member Posts: 1,126
    What are the error messages you get? Usually there are more than just the one saying "Unable to find API adapter".

    Several reason may be responsible for that:

    1. Are you sure you uploaded only the scorm package (zip). Just asking because it happened for me that a client tried to upload the zip I had sent which contained more than just the scorm package so it should have been unzipped to get the "real" scorm zip.

    2. Check whether the setting "Open course in a new window" (yes / no) in Lectora matches the way the package is integrated in the LMS. If they don't match it may happen that the course searches for the API adapter in the wrong place.

    3. Are you using "Web windows" or other objects to produce iframes or any other kind of frames? The API adapter may not be found if the way through a frameset is too long ("too deeply nested").

    Tim
  • sjendrisaksjendrisak Community Member Posts: 4
    Hi Tim,

    Thanks for your inquiry. We do get 2 error messages: "Unable to find API Adapter" and "Unable to locate the LMS's API Implementation. LMSGetValue was not successful."

    1.) Here's the funny thing about the zip. For our LMS, we do not upload a ZIP file; instead, we must upload the unzipped folder to a Filezilla FTP, and then we link to the a001index.html. But, in my unzipped folder, there is nothing else in there besides the published files.

    2.)We do have this option checked in the publishing settings for the course...but how would I know if it matches the way the package is integrated in the LMS?

    3.) I'm not familiar with web windows or iframes, so I would have to err on the side of "no". We do have links inside the course to other documents, which open in another window...?
  • timktimk Community Member Posts: 1,126
    You should upload the course to scorm cloud and see if it works there. If it doesn't work something's wrong with the course. If it works there the problems come from the LMS or from unzipping.

    Tim
  • timktimk Community Member Posts: 1,126
    I just reread scorm.com about the search algorhythm for th e api and it seems it doesn't make a difference whether the settings about opening in a new window match. It will always search in the current window and in the opener window ( if there is one ).

    Tim

     
  • sjendrisaksjendrisak Community Member Posts: 4
    Hi Tim - I was able to figure out what went wrong yesterday. I had to select the test in the title explorer left pane, click on the results tab in ribbon at the top of screen, leave the show test results option selected but deselect the use customized test results option. This did the trick!
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!

Be The First On Your Block to Rock Lectora® 21!


Apply for exclusive early access to the latest version of Lectora® Desktop v21. Seating is limited so apply now!