<@U04S8PLJWMT> I'm trying to create a Facebook Pag...
# ask-ai
d
@kapa.ai I'm trying to create a Facebook Pages source in Airbyte OSS. When I input the correct Page Access Token and Page ID, I get the following error in the UI:
Copy code
Configuration check failed
Encountered an error while checking availability of stream page. Error: Bad request. Please check your request parameters.
I have verified that the same Page Access Token and Page ID work correctly in the Facebook Graph API Explorer, so I know the token is valid and has the necessary permissions (
pages_read_engagement
,
pages_show_list
). Here is an example of the configuration I’m using in Airbyte:
Copy code
{
  "name": "Facebook Page: Example Page",
  "workspaceId": "YOUR_WORKSPACE_ID",
  "definitionId": "YOUR_DEFINITION_ID",
  "configuration": {
    "access_token": "PAGE_ACCESS_TOKEN_HERE",
    "page_id": "PAGE_ID_HERE"
  }
}
Could you help me understand why the configuration check fails in Airbyte even though the token and page ID work in the Graph API Explorer? Is there a specific format or additional field Airbyte expects for the Page ID or token? Thank you for your help!
k
Based on the information in the knowledge sources, the error message you are seeing:
Copy code
Configuration check failed Encountered an error while checking availability of stream page. Error: Bad request. Please check your request parameters.
is a known issue that has been reported by multiple users when setting up the Facebook Pages source in Airbyte OSS, even when the Page Access Token and Page ID are valid and work in the Facebook Graph API Explorer. Here are some key points from the sources: 1. Required Fields and Format The Airbyte Facebook Pages connector requires only two fields: - `access_token`: The long-lived Page Access Token - `page_id`: The Facebook Page ID There is no mention in the documentation of any special formatting or additional fields required for these values beyond what you are already providing. The Page ID should be the string after the last slash in your page URL (e.g., for
https://www.facebook.com/Test-1111111111
, the ID is
Test-1111111111
) and the access token should be a valid long-lived Page token as generated via the Facebook developer tools and described in the setup guide. [Reference: Facebook Pages Config Fields](https://docs.airbyte.com/integrations/sources/facebook-pages#reference) 2. Common Causes of 400 Bad Request - Permissions: Even if the token works in the Graph API Explorer, the connector may require additional permissions or a different token type. The documentation and user reports emphasize the need for the following permissions:
pages_read_engagement
,
pages_read_user_content
,
pages_show_list
, and
read_insights
. - Token Type: The connector specifically requires a long-lived Page Access Token, not a user token. Double-check that the token you are using is a long-lived Page token, not a short-lived or user token. - API Version: The connector documentation states it is compatible with v15 of the Facebook Graph API, but the supported streams reference v19. There have been recent migrations to newer API versions, so using a token or app created with a different version may cause issues. [Reference: Facebook Pages Setup Guide](https://docs.airbyte.com/integrations/sources/facebook-pages) 3. Known Issues and Unresolved Bugs - Multiple users have reported that even with correct tokens and IDs, the connector fails with a "Bad request" error. Some issues have been closed as "fixed," but users continue to report the same error, indicating that the root cause may not be fully resolved. - There is no indication in the knowledge sources of a workaround or a specific format required beyond what you are already using. [Reference: Github Issue 63718](https://github.com/airbytehq/airbyte/issues/63718) 4. Other Considerations - Facebook heavily throttles API tokens by default, but this typically results in rate limit errors, not 400 Bad Request errors. - Some users have reported that missing or incorrect permissions (such as not having
Page Public Content Access
) can cause similar errors, even if the token appears valid in the Graph API Explorer. [Reference: Forum Post 2302](https://discuss.airbyte.io/t/2302) Summary: Your configuration appears correct according to the documentation. The error you are experiencing is a known issue that may be related to subtle differences in token type, permissions, or API version compatibility between Airbyte and the Facebook Graph API Explorer. There is no evidence in the knowledge sources of a required special format or additional field for the Page ID or token. Next Steps: - Double-check that your token is a long-lived Page Access Token (not a user token). - Ensure all required permissions are granted:
pages_read_engagement
,
pages_read_user_content
,
pages_show_list
,
read_insights
, and possibly
Page Public Content Access
. - If the issue persists, it may be due to an unresolved bug in the connector. You may want to follow or comment on the relevant GitHub issue for updates: [Bad Request error on Source setup](https://github.com/airbytehq/airbyte/issues/63718). I'm sorry, but the knowledge sources do not provide a definitive solution to this problem at this time. If you have confirmed all the above and still encounter the error, it is likely an issue with the connector itself rather than your configuration.
d
@kapa.ai the token and page id are correct, is the error 'Bad request. Please check your request parameters.' coming from the different facebook api versions? Ie airbyte uses version 15, while facebook has updated their version to v22/v23?
k
A message from kapa.ai
Yes, the Facebook API version mismatch can cause the "Bad request. Please check your request parameters." error in Airbyte. From the knowledge sources: - The [Airbyte documentation](https://docs.airbyte.com/integrations/sources/facebook-pages) previously stated compatibility with v15 of the Facebook Graph API, but the connector has undergone several upgrades to support newer API versions. The changelog shows recent updates: - v19.0 (March 2024) - v21.0 (January 2025) - v23.0 (July 2025) [Changelog reference](https://docs.airbyte.com/integrations/sources/facebook-pages#changelog) - Users have reported that when Facebook deprecates older API versions, or when their app is set to use a newer version than the connector expects, they encounter 400 Bad Request errors—even if their tokens and permissions are correct. This is because the connector may be making requests with parameters or endpoints that are no longer valid in the newer API version, or vice versa. [Forum and GitHub issues](https://github.com/airbytehq/airbyte/issues/63718) [Forum post](https://discuss.airbyte.io/t/221) - The changelog confirms that the connector has been updated to use v23.0 as of version 1.1.4 (July 2025). If you are running an older version of the connector or Airbyte, it may still be using an outdated API version, which could cause incompatibility with your Facebook app if it is set to a newer default API version. Summary: If your Airbyte connector is not up to date with the latest Facebook API version (v23.0 as of July 2025), and your Facebook app is using a newer version, this mismatch can indeed result in the "Bad request" error. Upgrading your Airbyte Facebook Pages connector to the latest version should resolve version-related incompatibilities. If you are already on the latest connector version and still see this error, it may be due to another issue, but API version mismatch is a common cause as documented above.