If the Teams desktop application starts misbehaving (missing messages, errors, etc) a cache clear can often help.
https://gist.github.com/mrcomoraes/c83a2745ef8b73f9530f2ec0433772b7