Was given the wrong code

I was given a code on release for my ps4, ive linked my account but it keeps saying its for xbox live so am i just screwed out of my three keys then?