Common Errors
Here you'll find a list of common errors you might encounter when using the API and how to solve them.
Facebook
Error validating access token: Sessions for the user are not allowed because the user is not a confirmed user
This error from Facebook means that your Facebook profile has not been fully verified. This can happen for a few reasons:
- You haven't verified your email or phone number with Facebook.
- Your account is restricted for security reasons.
- Facebook requires additional verification from you.
Solution
To solve this, you need to confirm your Facebook account. Follow these steps:
-
Log in to Facebook: Go to www.facebook.com and log in to your account. If you see any security prompts, please complete them.
-
Confirm your Email or Phone Number:
- Go to Settings & Privacy > Settings.
- Navigate to Personal Details under the Accounts Center.
- Check if your email and phone number are verified. If not, follow the instructions to receive a confirmation code and verify them.
-
Check for Account Restrictions:
- Visit Facebook’s Account Quality page.
- Look for any account restrictions or actions you need to take. Follow the instructions to resolve any issues.
-
Log Out and Log Back In:
- Log out of your Facebook account.
- Clear your browser's cache.
- Log back into Facebook.
-
Reconnect the App:
- Go to your Facebook Business Integrations.
- Find and remove our application.
- Go back to our platform and try to connect your Facebook account again, making sure to grant all the necessary permissions.
If you continue to have issues, please contact Facebook Support for assistance.
For more details, you can check out this guide.
Instagram
400: Session Invalid
This OAuthException
indicates that Instagram cannot validate the session during the linking process with a third-party app. It typically appears as {"error_type":"OAuthException","code":400,"error_message":"Session invalid"}
and is often caused by expired tokens, residual permissions, conflicts in authorized apps, or temporary issues with the Instagram API.
Solution
- Disconnect and reconnect the app: From Instagram go to Settings > Security > Apps and Websites and remove the problematic integration; then retry the link from the external platform.
- Try a private/incognito window or a different browser: Clear cookies/cache or use an incognito window to avoid session conflicts.
- Switch device or network: Try from a mobile device instead of desktop, or switch networks (Wi‑Fi to mobile data) to work around transient issues.
- Check the account type: Ensure the account type (personal, creator, or business) meets the integration requirements.
- Wait and retry: If it's a temporary API issue, wait a short time and try again.
- Contact support: If none of the above works, contact the external platform's support and, if appropriate, report the issue to Meta/Instagram.
Reference: Based on the article "Understanding and Resolving the "400: Session Invalid" Error When Linking Instagram" from Postly Blog (Postly blog post).
YouTube
Failed to fetch YouTube channel info
This error occurs when the connection to your YouTube account is not configured correctly. The most common reason is that the YouTube Data API is not enabled for your account in the Google Cloud Console.
Solution
To fix this, you need to enable the YouTube Data API v3.
- Go to the Google Cloud Console.
- Make sure you are in the correct project.
- Go to APIs & Services > Library.
- Search for "YouTube Data API v3".
- Click on it and make sure it is Enabled. If it's not, click the "Enable" button.
Once enabled, try reconnecting your YouTube account.