Failed to set new efi boot target error on install to external SSD (connected with USB-C)


I’m trying to install Fedora Workstation to my external SSD, which is in this Realtek SSD enclosure.
It’s connected with USB-C, and I’ve been able to install windows to it before (with its own boot manager, etc.). With the fedora installer, though, I get failed to set new efi boot target around 30% of the way through.

What I’ve tried:
Under Full disk summary and boot loader..., I selected do not install bootloader.
I still made a /boot/efi partition.
I then followed the guide in the documentation after making sure the correct partitions where mounted to /boot and /boot/efi in the live media:
I ran dnf reinstall grub2-efi grub2-efi-modules shim and grub2-mkconfig -o /boot/grub2/grub.cfg

That’s all I’ve been able to find online, and unfortunately it didn’t work.