Experiencing an "Authentication Token Invalid" error in Supermetrics can halt your data flow, but thankfully, it's usually a quick fix! This error often indicates that your connection to a data source (like Google Analytics, Facebook Ads, etc.) has expired or been revoked. Think of your authentication token as a digital key; sometimes, it just needs to be refreshed or replaced to regain access.
Why does this happen? 
Authentication tokens are credentials that grant Supermetrics permission to access your data from various platforms. For security reasons, these tokens aren't permanent. They can expire due to:
-
Time limits: Many platforms set a specific validity period for tokens.
-
Password changes: If you change your password for the connected data source, the old token might become invalid.
-
Security policies: Your organisation or the data source itself might have policies that automatically revoke tokens after a certain period or upon certain actions.
-
Account activity: Sometimes, unusual account activity detected by the source platform can invalidate tokens.
How to restore your access: A step-by-step guide 
The process to fix an invalid authentication token primarily involves re-authenticating your data source within Supermetrics. There are a couple of main ways to do this, depending on where you're encountering the issue.
1. Fixing login token errors in your Supermetrics connector (e.g., Google Sheets, Excel) 
This is the most common scenario. When you see the error, Supermetrics will typically prompt you to re-authenticate.
-
Locate the authentication option: In your Supermetrics sidebar (for Google Sheets, Excel, etc.), look for an option to "Log in with" or "Manage accounts" for the specific data source that's causing the error.
-
Re-authenticate: Click on this option and follow the on-screen prompts to log into your data source account. This process will generate a new, valid authentication token.
-
Run your query: Once re-authenticated, try running your Supermetrics query again.
Learn more: Get detailed instructions on fixing these errors directly in your connector with How to fix login token errors.
2. Renewing authentication tokens in the Supermetrics Team Management site 🧑
🧑
If you're managing a team or need to renew tokens for multiple accounts, the Supermetrics Team Management site offers a centralized way to do this.
-
Access Team Management: Log in to the Supermetrics Hub and navigate to the Team Management section.
-
Find the data source: Go to the "Data Sources" tab or similar section where your connected accounts are listed.
-
Renew token: For the data source in question, you should see an option to "Renew" or "Re-authenticate" the token. Click this and complete the login process for that data source.
-
Verify: After renewing, ensure that any reports or queries using this data source are now pulling data correctly.
Manage your team's access: For comprehensive guidance on managing tokens at a team level, refer to How to renew authentication logins/tokens in the Supermetrics Team Management site.
Best practices to avoid future issues 
-
Regular checks: Periodically check your Supermetrics queries for any authentication errors, especially for less frequently used data sources.
-
Consistent credentials: Try to avoid frequent password changes for accounts connected to Supermetrics, as this is a common reason for token invalidation.
-
Stay updated: Keep your Supermetrics connector updated to the latest version, as updates often include improvements to authentication stability.
Stay connected, stay insightful! 
An "Authentication Token Invalid" error is a minor hurdle, not a roadblock! By understanding why it occurs and knowing how to quickly re-authenticate through your connector or the Supermetrics Team Management site, you can ensure uninterrupted access to your vital marketing data. Keep your connections fresh, and keep those insights flowing!