Hello MichalV,
At this point it is hard to tell you what the issue could have been since you have returned the drive.
Trying the drive in another computer to see if the same thing happens would be another option besides checking for any possible updates for the firmware found in the link below.
You can also check in the link below the list of compatible products for the Intel® SSD DC S3500 Series 480GB.
ARK | Intel® SSD DC S3500 Series (480GB, 2.5in SATA 6Gb/s, 20nm, MLC)
Please check your computer manual (BIOS) for any specific setting regarding SATA ports.