Unlock code won't work on lg g6
I recently received an unlock code for my LG G6, but when I put it in I get a message saying it's invalid. I've heard that AT&T sometimes issues incorrect codes, but when I called customer support he told me that I had to restore my phone to factory settings first in order for this to work. I don't see this listed as being necessary in the unlock directions anywhere, I don't see why it would be necessary, and noone online seems to be suggesting anything like this either. Is AT&T not able to issue another code? Is it really necessary to factory reset my phone?