error/moodle/cannot finish ui if not setting ui

From MoodleDocs

I just had this error while attempting to make a backup of a large Moodle course.