128GB SD cards not working properly on my Mac

Two Sandisk cards that were delivered today don’t appear to work properly with Macs.

On initial insersion they only appear to have a memory capacity of 24GB.

On inserting them initially the mac says each one is faulty and needs to be reformatted. So I used my Nikon D800 to format them. On re-mounting them on my Mac it says they cannot be repaired on a Mac.

Are these cards not suitable for Macs? Why am I getting these error messages?