Problems transferring data via Bluetooth


Hi, I have bought a moto G5 and am trying to transfer photos via Bluetooth from my. Samsung Galaxy 3 Mini. Problem is, every time I try to pair them up via Bluetooth, the Galaxy asks me to confirm a passkey number (random every time). If I tap OK, it then tells me the number is invalid! If I try it from the Moto, it can't find the Galaxy to pair up.