Warning Warning! This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.

Troubleshooting

A quick guide to all our error messages and solutions.

The Questions API will log error occurrences to the javascript console of the browser. These errors can be checked by the following command in the console: window.LearnosityApp.errors.

An ErrorListener can also be defined as part of the Questions API. Please see the Initialization Options Section for further details.

ErrorMessage for usersMsg Location
Error code: 10001
Failed validating activity / format error Global UI Error
Error code: 10002
Response id conflict Global UI Error
Error code: 10003
Failed authentication Global UI Error
Error code: 10004
Save responses failed Alert Only
Error code: 10005
Response not found Question UI Error
Error code: 10006
Audio save to server failed Alert Only
Error code: 10007
Authorisation failed Question UI Error
Error code: 10008
Audio asset failed to load Alert Only
Error code: 10009
Audio asset temporarily not available Alert Only
Error code: 10010
Audio asset expired Question UI Error
Error code: 10011
Your device does not support audio-capture functionality Alert Only
Error code: 10012
No microphone found Alert Only
Error code: 10013
Unable to save, question validation failed Alert Only
Error code: 10014
Audio asset format not supported Alert Only
Error code: 10015
Browser not supported Global UI Error
Error code: 10016
Failed capturing questions Global UI Error
Error code: 10017
Failed loading Questions API, can't load required modules Alert Only
Error code: 10018
Browser running in an unsupported compatibility view Global UI Error
Error code: 10019
Failed validating math Alert Only
Error code: 10020
Failed validating appended elements Alert Only
Error code: 10021
Discard responses failed Alert Only
Error code: 10022
Audio playback failed Alert Only
Error code: 10023
Unable to render latex Alert Only
Error code: 10024
Failed loading external resource Alert Only
Error code: 10025
Failed resuming activity, network connectivity error Alert Only
Error code: 10026
Cannot set response metadata on empty response Alert Only
Error code: 10027
Failed pushing offline data to server Alert Only
Error code: 10028
Called needs pushing with incorrect parameters Alert Only
Error code: 10029
Asset could not be uploaded Alert Only