I had this error and what fixed it for me was removing the ‘mixamorig:’ prefix from the animated skeleton.
Frustrating because the skeletal mesh was created from the same skeleton. I guess it removes the prefixes upon creating the skeletal mesh, but doesn’t check to remove them upon importing an animation.