1. In any course, go to Question bank -> Export.
2. Select a format (e.g. Moodle XML) and select an empty category to export. (If you cannot find one, you may have to create one.)
3. Make sure the error message you get is comprehensible, and that the continue button takes you back to the export form.
When you try to export an empty question category.