SD boot not working

Hello. I have a Lenovo Ideapad flex 3i (beetley). I installed EndeavourOS to an sd card, It boots fine using a SD to usb adapter, but when I use the built-in sd slot, I get “Booting from ‘SD Device’ failed; verify it contains a 64-bit UEFI OS.”.

Can somebody please help? Thanks