This error may pop up when you are trying to save a document in Microsoft Teams. What I did to fix this was try saving again, but change the document type from Excel 2000-2003 to just Excel (top choice). It’s most likely an old file and isn’t compatible with 365.
If you need my help with this or any other Outlook or 365 issues, please use the form below to get in contact with me.