Autosave form – Inactivity Error on Idle

I’m using https://www.drupal.org/project/autosave_form module.

When user is idle for few minutes, it gives below error message.

A server error occurred during autosaving the current page. As a result autosave is disabled. To activate it please revisit the page and continue the editing from the last autosaved state of the current page.

https://www.drupal.org/project/autosave_form/issues/3004984

File: autosave_form/js/autosave_form.js