If you lose your authorization code, you will need to request a new one from your ESP. Most platforms have a straightforward process for reissuing codes. Simply follow these steps:
Login to your account. Go to the security or API settings. Request a new authorization code.
Make sure to store the new code in a secure location to avoid future disruptions.