('Bad header in MIDI file.', b'\xff\xfb\x90d')
This error occurs because you are trying to open a midi 0 file, which is (currently) unsupported. You need to convert the file first to midi 1 in order for it to work. I would recommend opening it in https://signal.vercel.app/edit then saving it via file > save and it should automatically convert it, so you should be able to open the new file then.