S4-NetQuest/react-scorm-provider

'SCORM.data.save failed: API connection is inactive' on link click

hellorich opened this issue · 1 comments

I'm having a problem with navigating a multiple page SCO using React Scorm Provider.

Everything works fine on one page and I can set suspend data and status using React components there, all great.

I have several other pages defined in my manifests generated by Simple Scorm Packager and the links in the initial page and manifest match up.

However on clicking any links I get the SCORM.data.save failed: API connection is inactive even seconds after doing an API interaction in my components, and am redirected back to SCORM Cloud's dashboard.

I've dug into the issue and the error message seems to come from the packaged SCORM API wrapper based on the state of scorm.connection.isActive, logically enough.

I feel like I may be making some basic error in my understanding of how SCORM works or this is a bug of some kind?

Any insights into this would be greatly appreciated!

Just an update, this turned out to be a configuration issue with Scorm Cloud in the end, so not an issue!