Make a solid from 2 surfaces

Hey everyone

I’m currently trying to make a solid out of to surfaces above each other, i have the 2 polygon’s/polycurves and tried to use the Solid.ByLoft but it tell’s me that I use bad wires… not sure how i come around this, so if anyone out there could help a little out can help me a out this will be much appreciated