Instagram API Error Message Reference

If you receive an error message when trying to display your posts then you can use the table below to diagnose the issue and find the relevant solution.

Why are API requests being delayed?

If your website attempts to make several bad API requests in a short period of time, Instagram will temporarily block all requests from your website. To prevent this, the plugin will set a delay of 5 minutes until another API request is made. You can save your settings at Instagram Feed > Settings > Feeds to immediately try another API request.

I’m seeing error messages that no longer apply. Why is this?

The plugin will log API errors to help troubleshoot connection issues. Only some of these errors will clear on their own when the issue is resolved. If you’d like to reset these error messages, go to Instagram Feed > Settings > Advanced and click the Reset button next to Reset Error Log. You can also save your settings at Instagram Feed > Settings > Feeds to clear hashtag related errors.

API Error 400: The access_token provided is invalid.

#1 – Your Access Token is either incorrect, invalid or expired

If your feed stops retrieving new posts your access token may have expired. This is something that Instagram does with no clear reason.

Solution:
Remove your account from the plugin navigating to Instagram Feed > Settings > remove the connected account(s) by clicking the red trash icon, then click the Save Changes button. After that, click Add Source and recreate the connection. You can also try retrieving an access token and manually creating a connection with our guide here.

API Error 400: Your account is connected to Facebook account, and your Facebook account’s future off-Facebook activity is currently turned off.

Due to how the Instagram/Facebook API works, if the future off-Facebook activity setting is disabled, you can not use our Instagram or Facebook apps to display the feed. In order to connect the account and display the feed, you will have to connect using a Facebook account or Instagram account with its connected Facebook account that does have this enabled. There is currently no way around this since it is a limitation in the API directly, which we can not affect.You can find detailed information about the off-Facebook activity here: https://www.facebook.com/help/1224342157705160

Error: No posts found:

  • User feed: The account has no posts made on Instagram.com
  • Recent hashtag feed: No posts have been made to this hashtag in the last 24 hours
  • You are using a lot of IGTV posts in your feed – See below
  • Issue with your Access Token – See API Error 400: The access_token provided is invalid
  • Too much filtering with includewords, excludewords, whitelist, or blocking photos – See this FAQ

Your account has a lot of IGTV posts

Instagram does not yet support IGTV posts in its API. However, these posts are still counted in the API request even if they aren’t returned. This can lead to the plugin thinking there are no posts available if all recent posts are IGTV posts.

Solution:
To fix this issue, go to the “Customize” tab inside the settings page for “Instagram Feed” and find the setting “API request size” and raise it to 25 or more depending on how often you use IGTV posts.

Your account is private: Access token will expire.

This is due to the account being set as “private” on Instagram. Private accounts need to be manually reconnected every 60 days in order to retrieve new posts.

Solution:
Make your account “public” or remember to reconnect the account once every 60 days.

Error: Cannot retrieve posts for this hashtag: The Hashtag “XXXXXXXX” requested by the user either cannot be seen due to missing permissions, is invalid or doesn’t exist.

  • No public posts have been made with this hashtag. Once a post is made with this hashtag, this error will be resolved

API error 10: Application does not have permission for this action. Access token cannot be automatically refreshed.

  • Possible issue #1: The account being set as “private” on Instagram. Private accounts need to be manually reconnected every 60 days in order to retrieve new posts.
  • Possible issue #2: You are trying to display a “tagged” feed and your Instagram/Facebook user does not have the proper role.

Solution:
#1 – Make your account “public” or remember to reconnect the account once every 60 days.
#2 – Log in to Facebook or Instagram as a user with a higher role connect an account so you can display this feed type.

API error 100: Unsupported get request.

API error 100: Unsupported get request. Object with ID ‘xxxxxxxxxxxxx’ does not exist, cannot be loaded due to missing permissions, or does not support this operation.

This is due to the Account ID not matching the authenticated account for the Access Token. A potential cause would be settings changes on Instagram/Facebook. Potential Causes:

  • Changing the admin users of the related Facebook page
  • Changing the password for the Instagram or Facebook account
  • Changing your privacy settings for either Instagram or Facebook
  • Changing settings related to App permissions for either Instagram or Facebook

Solution:
You can reauthorize the Smash Balloon App by following this FAQ.
Note: If the error message is still displayed after doing this then try clearing the error log in the following location: Instagram Feed > Settings > Advanced > “Reset Error Log” button.

API error 803: (#803) Some of the aliases you requested do not exist: XXXXXXXXXXXXX

This is due to the Account ID not matching any account found on Instagram/Facebook. A potential cause would be settings changes on Instagram/Facebook. Potential Causes:

  • Changing the admin users of the related Facebook page
  • Changing the password for the Instagram or Facebook account
  • Changing your privacy settings for either Instagram or Facebook
  • Changing settings related to App permissions for either Instagram or Facebook

Solution:
You can reauthorize the Smash Balloon App by following this FAQ.
Note: If the error message is still displayed after doing this then try clearing the error log in the following location: Instagram Feed > Settings > Advanced > “Reset Error Log” button.

API error 190: Error validating access token.

You have an issue with your Access Token. This can be due to changing the password in the connected account or other Security Changes, or due to our app being removed from the account’s Business Integrations. You may also have copied your access token incorrectly when trying to connect an account. 

Solution:

Remove your account from the plugin navigating to Instagram Feed > Settings > remove the connected account(s) by clicking the red trash icon, then click the Save Changes button. After that, try getting a new access token and manually connecting. To make sure you create a valid Access Token, you can follow our guide here.

API error 18: Limit of 30 unique hashtag searches per week has been reached.

Instagram has a limit of 30 unique hashtag searches on a rolling weekly basis. If your site requires more than 30 hashtag feeds, you will need to create a second Facebook/Instagram business account and connect it by going to Instagram Feed > Settings and clicking Add Source in the Manage Sources section.

API error 1: An unknown error has occurred.

Make sure that you are updated to the latest version of the plugin. If this error still appears, there may be a Facebook/Instagram API issue. Contact support.

API error 2: An unexpected error has occurred. Please retry your request later.

There may be a temporary issue with Instagram/Facebook’s API. Try clearing your cache by going to Instagram Feed > Settings > Feeds and clicking Clear All Caches. If the feed still isn’t updating after a few hours, contact support.

Error 999: Access token could not be decrypted.

All Instagram data, including access tokens, are encrypted in your database. If you migrate your database from another site, such as a development or staging site, you may need to reconnect your account or accounts for feeds to update by following these steps:

Remove your account from the plugin navigating to Instagram Feed > Settings > remove the connected account(s) by clicking the red trash icon, then click the Save Changes button. After that, click Add Source and recreate the connection. You can also try retrieving an access token and manually creating a connection with our guide here.

Connection Error: http_request_failed – cURL error 7: Failed to connect to api.instagram.com port 443: Connection refused

Some hosts have restrictions or security settings to prevent remote requests to other websites.

Solution:
Usually they can fix this or make an exception for your site. Try contacting your host with a message like this:

It looks like our Instagram plugin is encountering an error when trying to connect to the Instagram API. The developers asked us to contact you and mention that we are seeing the error http_request_failed – cURL error 7: Failed to connect to api.instagram.com port 443: Connection timed out when trying to make remote connections to api.instagram.com/.

Connection Error: http_request_failed – cURL error 6: Could not resolve host: graph.facebook.com

Your server may not be connected to the internet or your host may be blocking the connection. If you are using a local development environment, make sure you are connected to the internet.

Connection Error: http_request_failed – cURL error 28: Resolving timed out after 10000 milliseconds

Your server may have restrictions on connecting to the Instagram API.

Solution:
If this occurs when trying to connect an account, try reconnecting after 10 minutes or so. If this doesn’t resolve the problem or it’s intermittent, try contacting your host and mention that you are seeing this error when trying to connect to the Instagram API.

An alternative solution is to try connecting as a “Business” account by following these instructions.

If you’re still having trouble displaying your posts after trying the common issues above then please contact support for assistance.

support

Couldn’t find your answer in the docs?

Contact Support