Hello,
I'm sorry to hear you're having trouble while trying to export your animation. Could you please post a screenshot of your texture packing settings? More information can be found at the link below.
Texture packing - Spine User Guide: Settings
Also, could you please let us know what Spine version you're currently using when encountering the error?