If your plugin frequently loses its connection to your cloud accounts, there are usually two possible causes.
Causes and Solutions
-
Cause: The encryption key was lost or changed
The plugin encrypts your cloud account tokens using a unique encryption key stored in your WordPress database. If this key is lost or altered — for example, by a backup, cleanup, or optimization tool modifying the WordPress options table — the plugin can no longer decrypt your saved tokens, causing the cloud connections to break.
Solution:
To prevent this from happening again, you can permanently define the encryption key in yourwp-config.phpfile:define('{SLUG}_AUTH_KEY', '{32 long key}');Example:
// IMPORTANT: Don't use this exact key, but create your own key! // Google Drive define('USEYOURDRIVE_AUTH_KEY', 'WLd3q9FJW5J4hr$r#sVHVao7ohx^35iH'); // Dropbox define('OUTOFTHEBOX_AUTH_KEY', 'WLd3q9FJW5J4hr$r#sVHVao7ohx^35iH'); // OneDrive & SharePoint define('SHAREONEDRIVE_AUTH_KEY', 'WLd3q9FJW5J4hr$r#sVHVao7ohx^35iH'); // Box define('LETSBOX_AUTH_KEY', 'WLd3q9FJW5J4hr$r#sVHVao7ohx^35iH');After you set the key, you’ll need to reconnect your cloud accounts one last time. Once done, the plugin will no longer lose access due to encryption key issues.
-
Cause: License validation issue
The plugin may lose access if there's a problem verifying your license. Open the plugin's license screen in your WordPress dashboard, deactivate the license, then activate it again. If the issue persists after that, see I get an 'Invalid client' error when authorizing the plugin or contact our support team.