If you lost your code, provide your device's serial number to the official manufacturer. They can usually regenerate a code for a registered user.
: Authorization codes should be short-lived to minimize the risk of them being intercepted and used. hap 511 authorization code crack hot