Blender Rig to Unreal: Unable to import fbx file into blender as multiple roots are found in bone hi

Beginner with both blender and unreal engine here. I have made multiple rigs for a character that I am trying to import into unreal and at this point I am at a loss as to why it is not working. I can seem to import it fine when importing through .glb, but animations are not baked properly (specifically the arms). When trying to import as fbx, however, I will get an error message which is included in the title of this post. I’ve included the hierarchy of bones to see if anyone can offer a solution for me. Thanks.
Screenshot 2026-03-02 at 3.21.47 PM

if im reading that right, i think all bones need to be parented to a single bone. i think also the root head has to placed at the origin, but im not sure.

a rough example:

  • root
    • legs
      • feet
    • spine
      • arms
        • hands
      • head

etc