The error message you are seeing—"Configuration check failed. Forbidden. You don't have permission to access this resource."—when using the Account ID filter in the Pinterest source connector typically indicates a permissions issue with the Pinterest account or the OAuth credentials being used. Here are some key points and troubleshooting steps based on the available documentation: 1.
Required Permissions: The Pinterest connector requires broad permissions during OAuth authentication, including access to all advertising data, boards, pins, catalogs, and user accounts. If your authenticated Pinterest user does not have access to the specified Ad Account ID, or if the OAuth token does not have the necessary scopes, you will encounter permission errors. Pinterest does not allow granular permission selection during OAuth; all required scopes are requested automatically during authentication. Make sure you are authenticating with a user that has access to the Ad Account you are specifying [see documentation](
https://docs.airbyte.com/integrations/sources/pinterest). 2.
Account ID Filter: The Account ID filter is a relatively new feature (added in version 2.1.0 of the connector). When you specify an Ad Account ID, Airbyte will only attempt to retrieve data for that account. If the authenticated user does not have access to that account, you will get a "Forbidden" error [see changelog](
https://docs.airbyte.com/integrations/sources/pinterest#changelog). 3.
OAuth Credentials: For Airbyte Cloud, you must log in and authorize your Pinterest account via OAuth. For Airbyte Open Source, you need to provide your App ID, secret key, and refresh token. Ensure these credentials are correct and have not expired [see setup guide](
https://docs.airbyte.com/integrations/sources/pinterest#setup-guide). 4.
Troubleshooting Steps: - Double-check that the Pinterest user you are authenticating with has access to the Ad Account ID you are entering. - If you are using Airbyte Open Source, ensure your refresh token and app credentials are valid and have the necessary permissions. - Try re-authenticating or generating a new refresh token to ensure all required scopes are granted. - If you have access to multiple Pinterest accounts, make sure you are logged into the correct one during the OAuth process. If you have confirmed all of the above and still encounter the error, it may be a limitation or bug with the connector or with Pinterest's API permissions model. In that case, consider opening an issue on the Airbyte GitHub repository with detailed logs and your connector version for further assistance.
References: - [Pinterest Source Setup Guide](
https://docs.airbyte.com/integrations/sources/pinterest#setup-guide) - [Pinterest Source Changelog](
https://docs.airbyte.com/integrations/sources/pinterest#changelog) - [Pinterest Source Permissions](
https://docs.airbyte.com/integrations/sources/pinterest)