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

Beginner with both blender and unreal engine here. I have been trouble getting rigify human rigs to work with unreal so have made my own to import. However, I’m still having problems importing them. I can seem to import it fine, when importing through .glb, but animations are not baked properly. When trying to import as fbx, however, I will get an error message which is included in the title of this post. Safe to say I have no idea what I’m doing wrong as I’ve tried to follow proper naming conventions and formatting to get everything to import smoothly. I had a previous rigged character which I didn’t even bother naming to work just fine so I really don’t know what’s wrong. I’ve included the hierarchy of bones to see if anyone can offer a solution for me. Thanks.