# The "Show SCORM Errors" publish option

**URL:** <https://community.evolveauthoring.com/t/the-show-scorm-errors-publish-option/2208>\
**Category:** General Help\
**Created:** [March 15, 2023, 2:54pm UTC](https://community.evolveauthoring.com/t/the-show-scorm-errors-publish-option/2208 "2023-03-15T14:54:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![NickEastham](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/nickeastham/32/1215_2.png) [@NickEastham](https://community.evolveauthoring.com/u/NickEastham)\
**Post date:** [March 15, 2023, 2:54pm UTC](https://community.evolveauthoring.com/t/the-show-scorm-errors-publish-option/2208/1 "2023-03-15T14:54:11Z")

</div>

Can anyone tell me under what circumstances this option will show ‘errors’? The tooltip says that it will show an alert if the course cannot connect to the API or fails to send the tracking. So I was expecting it to display if I launched a course from an LMS, then disconnected from the Wifi, then continued working through the course completing components. I never see any alert when I do this.

I’m interested to know what the error tells the learner to do when this happens. Are they forced to close the course?

---

<div class="post-metadata">

**Author:** ![Matt\_Leathes](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/matt_leathes/32/586_2.png) [@Matt\_Leathes](https://community.evolveauthoring.com/u/Matt_Leathes)\
**Post date:** [March 16, 2023, 10:39am UTC](https://community.evolveauthoring.com/t/the-show-scorm-errors-publish-option/2208/2 "2023-03-16T10:39:03Z")

</div>

I’d have to check for sure but I would suspect it only does this if the LMS’ API returns an error. In my experience most LMSes unfortunately still seem to return `true` from an LMSCommit call even if you have disconnected the computer from the internet. Which is sort of obvious when you realise that LMSCommit is not an async function but the thing it’s trying to check almost certainly is these days.

---

<div class="post-metadata">

**Author:** ![NickEastham](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/nickeastham/32/1215_2.png) [@NickEastham](https://community.evolveauthoring.com/u/NickEastham)\
**Post date:** [March 16, 2023, 10:56am UTC](https://community.evolveauthoring.com/t/the-show-scorm-errors-publish-option/2208/3 "2023-03-16T10:56:56Z")

</div>

Ah, so you think it just shows the LMSGetLastErrors, and when the course fails to find and initialise the LMS API. It would be good to know.

I suppose the fact that I’ve never seen it pop up is a good thing!

---

<div class="post-metadata">

**Author:** ![Matt\_Leathes](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/matt_leathes/32/586_2.png) [@Matt\_Leathes](https://community.evolveauthoring.com/u/Matt_Leathes)\
**Post date:** [March 16, 2023, 11:33am UTC](https://community.evolveauthoring.com/t/the-show-scorm-errors-publish-option/2208/4 "2023-03-16T11:33:36Z")

</div>

OK so, if enabled, it should show an error when:

- It fails to find the API
- `LMSInitialize` fails
- `LMSGetValue` or `LMSSetValue` return `false` AND the error code is something other than `0` (there’s at least one LMS - I forget which - that sometimes returns `false` from a ‘set’ call even though it has clearly worked)
- The LMS returns an invalid value for lesson status
- `LMSCommit` returns `false`
- `LMSFinish` returns `false` - although TBH given that’s typically triggered by the learner closing the course I doubt it would actually be able to show an error at that point.

Hope that helps

---

<div class="post-metadata">

**Author:** ![NickEastham](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/nickeastham/32/1215_2.png) [@NickEastham](https://community.evolveauthoring.com/u/NickEastham)\
**Post date:** [March 16, 2023, 1:17pm UTC](https://community.evolveauthoring.com/t/the-show-scorm-errors-publish-option/2208/5 "2023-03-16T13:17:58Z")

</div>

That is helpful, thanks Matt!
