xApi cmi5 Error calling LRS

hello, does anyone know this problem. This error message appears in our LMS

(warning] There was a problem communicating with the Learning Record Store. (500 | Application Error: Error calling LRS. Call to a member function getRegistration() on null)

Can anyone help us. The xApi file has no errors or warnings in lectora.

Discussion (24)

When you publish your project select the appropriate debug options, it might provide additional insight.

A HTTP 500 error is an internal server error, the LRS URL might be incorrect.

does nobody have an idea?

The LRS URL is supplied by the LMS or by whatever is launching the xAPI content. You can test your course on Scorm Cloud which launches xAPI content. If you publish with the debug options then it should show you what URL is being supplied to the course.

Also in your screenshot you still need to check the debug checkbox, that will enable the options. You can deselect all but the last two HTTP and LMS. Then when you run the course you will get a popup with log messages.

Hey, thx for your answer, i will try it.

greetings marcel

i forgot to mention that we normal use Ilias as our LMS. There it works perfect (scorm files). Now we want to test it in another LRS. The same courses as xAPI cmi5. And here we have the errors.

ok, in the screenshot you can see my settings... everything is checked

with the wrong LRS URL do you mean this field? Its the only field where i can find an URL

Hi, here is the log file from the new LMS(Rexx).

I am amazed that the pdf is so short, that of scorm cloud was much longer.

i am really grateful for your help! greetings Marcel

Hi, in our LMS (Ilias) i can't try it. There works only SCORM. And the new LMS (REXX) only xAPI.

Its really frustrating :-).

We have also tested the new LMS(Rexx) with a small eLearning module (xApi) that was build in articulate Rise 360. And this one works with the new LMS....

So only the Lectora xApi eLearning make problems with the new LMS.

this is the new Debug report file, the other one was not complete :-)

Try to get the debug log from the new LMS (REXX) and post it here. If you want quicker resolution please contact lectora.support@elearningbrothers.com

it works in the scorm cloud but where can i find the URL informations? There are a lot of informations :-)

You supplied the debug data from Scorm Cloud (where it works). My guess is your LMS is not initializing xAPI when it launches the course, that is where you would need the debug information from. If you publish to SCORM and upload to the LMS it will not send xAPI statements. If you publish to xAPI/cmi5 and upload to your LMS which supports xAPI then it should work. Look at the debug output from your LMS vs Scorm Cloud.

Hey, thank you! i will test it in scorm cloud.

THX a lot

I don't see the LMSInitialize statement. Makes me think in Lectora you might not of published to cmi5 or for some reason the LMS is not seeing that it is an xAPI course. Maybe you can contact LMS(Rexx) and find out why it will not initialize as an xAPI course.

Hi @Marcel try it in your LMS or where it is failing

i have attached a PDf File with the debug data. Can you find something there?

Hi, i have a new log file from our news LMS (Rexx). Do you see there more information?

greetings and THX Marcel

hi Wheels, can you please look again, maybe you can find the bug in this logfile. greetings marcel

Hi @Marcel someone has to get into the browser debugger and see what calls are being made. You need to contact either support at LMS(Rexx) [it's their error, and the course works on SCORM cloud] or our support. In either case it will help a lot if you provide access to the environment that is failing so support can troubleshoot the issue. Sorry I've done as much as I can via community posting ;)

Hey Wheels, thx for your answer.

...

unfortunately no, this error message always appears at the beginning. I have now tried different courses even xApi templates from the elearning brothers and I always get the same error message

@Marcel looks like it's working. What do you see in the LRS, are the progress xapi statments there?

Correct xAPI / cmi5 are publishing options, your project options look correct.

Thank you for your help and time!!!

Last question :-)

Do the projext options have an effect here? there is no mention of xapi here...

THX Marcel

thanks a lot :-)