Follow

Incorrect Data Type Errors

Avatar

Question

When a user finishes the final exam in the content and receives a score, a number of JavaScript warnings pop up:

LMSSetValue Error: cmi.interactions.1.correct_response.0.pattern to [n/a]Incorrect Data Type

LMSSetValue Error: cmi.interactions.1.student_response.0.pattern to [n/a]Incorrect Data Type

I get probably ten or fifteen of these -- maybe a pair for each question I missed (interactions.12, interactions.35). On a second attempt, the interaction numbers are higher. This is a problem in both our LMS and in SCORM Cloud.

Answer

By default, the SCORM Engine validates all interactions against the SCORM specification...n/a is technically invalid, but we do have a package property to help this out. If you disable 'Enable Validation of SCORM Interaction Results' that lives on the compatibility tab, you should not receive this error anymore.

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

  • Avatar
    Tara Knight

    I am getting very similar errors and have seen the answer to "Disable 'Enable Validation of SCORM Interaction Results' but do not know where to find this. Is it in Lectora or the LMS that I am using?

  • Avatar
    Joe Donnelly

    Hey Tara, 

    If you are using an LMS that uses our SCORM Engine (http://www.scorm.com/engine) then that option should show up in the package property editor if they chose to expose that option.  What LMS are you using?

    Thank you,

    Joe

  • Avatar
    Swabha Rajapaksha

    Hi,

    I'm using Scorm cloud API. Is there any option to disable validation of SCORM Interaction Results in cloud.scorm.com? I'm using RusticiSoftware.HostedEngine.Client library to uplod the course modules to the cloud API.

    Edited by Swabha Rajapaksha
Powered by Zendesk