Here are some things to check:
Neck relief correct
Nut height correct
Quality of the nut slot (taper etc.)
Pressure on the nut (winding on tuning peg)
Witness points set
String not defective
Bridge height correct
Bridge saddle makes solid contact
No high frets ahead of problem area
Neck relief correct
Nut height correct
Quality of the nut slot (taper etc.)
Pressure on the nut (winding on tuning peg)
Witness points set
String not defective
Bridge height correct
Bridge saddle makes solid contact
No high frets ahead of problem area