Nikon DX Memory Card Problem

I have a Nikon DX camera. What is the right size and type memory card to use with the camera? I bought a SanDisk Extreme Pro SDXC UHS-1 Card 64 gb and after I reformat it gives me a reading that the disk is full (it isn’t). How can I either fix that or what is the best type and size card to use with the Nikon DX (old camera).
Thank you

2 replies