Tips and error codes for troubleshooting the Annotations API
- Annotations API will not be able to resume the stored highlight if the user tries to highlight a drag/drop Item in drag and drop Question types like clozeassociation, imageclozeassociationV2…(and so on).
- In Firefox, if you try to select and highlight text that contains interaction elements such as buttons or dropdowns, Annotations API will highlight only the text before the first encountered interaction element.
- Annotations API cannot persist text highlighting between shared passages that are being used in two different Assessment’s sections.
the following command in the console:
|Error Code||Description||Suggested Solution|
| Error code: ||Invalid security object.||Check your security object.|
| Error code: ||Authentication failed.||Check your authentication settings.|
| Error code: ||The API initialization data group_id is missing or is not a valid string.||Provide a valid string or missing group_id initialization data.|
| Error code: ||Invalid initialization hook selector/element was provided.||Provide a valid initialization hook selector/element.|
| Error code: ||No Annotations modules were enabled, check your "modules" configuration.||Check your "modules" configuration.|
| Error code: ||An invalid module configuration was found.||Check your "modules" configuration.|
| Error code: ||An invalid argument was given.||Provide a valid argument.|
| Error code: ||Adding or changing annotations is not allowed in read-only mode.||Switch to a different mode to add or change annotations.|