save.activity.error - Events - Author API

Author API Events


Fires after an Activity has failed to save.

You would want to be notified about this event firing, because you might want to track the error message for debugging, for example.


authorApp.on('save:activity:error', function () {
    console.log('This code executes when an Activity has failed to save.');

Callback arguments

  • activityJson object

    JSON of the Activity that has failed to save.

  • Error object

    Information about the error.

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.