Sending multimedia content and documents within chat conversations in Microsoft Teams
Have you tried the help on this page? I know the error message is different but it's worth checking.
Error when uploading files to a Teams chat - Microsoft Teams | Microsoft Learn
I don't use Mac computers but if you still have issues, you should be able to talk the MS through your Business 365 account.
In the admin centre use help and support to contact MS.
Also, MS will be releasing a Teams version that does not involve Rosetta but not sure when that will be.
On the web version, are you using MS Edge as the browser?