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.
Event Assess API

items:fetch:error

Fires when a fetch action for a batch of Items failed when using the addItems public method.

You would want to be notified about this event firing so that you can respond to the error by showing a message to the learner or retrying the fetching action again, for example.

Examples

itemsApp.on('items:fetch:error', function () {
    console.log('This code executes when a fetch action for a batch of Items has failed.');
});

Related articles

Was this article helpful?