Help with an error regarding family sharing

My friend received a code 2 days ago. I played his copy through family share. I havent received a code yet and it will not allow other friends to send me the email either. Did I screw myself over? My assumption is that eh game recognizes that I have 4 hours on the game and assumed I already received a code.