<@U04SE163WC8> I am getting this error when settin...
# ask-ai
s
@kapa.ai I am getting this error when setting up a new custom connector:
Copy code
Configuration check failed
"Forbidden. You don't have permission to access this resource."
u
Based on the error message you provided, it appears you're encountering a permission issue when trying to set up a new custom connector in Airbyte. This type of error can occur for various reasons, but it's often related to insufficient permissions or incorrect configuration. Let's explore some possible causes and solutions based on the information available: 1. Service Account Permissions: If you're using a service account (e.g., for Google Cloud services), ensure it has the proper permissions. For example, when setting up a BigQuery destination, the service account should have at least "BigQuery User" and "BigQuery Data Editor" roles [as mentioned in the BigQuery documentation](https://docs.airbyte.com/integrations/destinations/bigquery#troubleshooting-permission-issues). 2. API Key Permissions: For connectors that use API keys (like Sendgrid), make sure the API key has the necessary permissions. Some connectors require specific access levels, such as read-only access for certain resources [as noted in the Sendgrid documentation](https://docs.airbyte.com/integrations/sources/sendgrid#create-a-read-only-api-key-optional). 3. OAuth Permissions: If you're using OAuth (e.g., for Facebook Marketing), ensure that your application has been reviewed and approved for the required permissions. Sometimes, apps need to go through a review process to access certain data [as suggested in a forum post about Facebook Marketing](https://discuss.airbyte.io/t/1780). 4. Kubernetes RBAC: If you're running Airbyte on Kubernetes, there might be issues with Role-Based Access Control (RBAC). Ensure that the service account used by Airbyte has the necessary permissions to create and manage resources in your cluster [as mentioned in a GitHub issue about HELM charts](https://github.com/airbytehq/airbyte/issues/7211). 5. File System Permissions: In some cases, the error might be due to file system permissions, especially when Airbyte is trying to write configuration files. This has been reported with the Google Analytics connector [as seen in this GitHub issue](https://github.com/airbytehq/airbyte/issues/42563). To resolve this issue, I recommend: 1. Double-check the permissions associated with the credentials you're using for the connector. 2. Ensure that all necessary roles and access rights have been granted. 3. If you're using a cloud service, verify that your account or project has the required permissions enabled. 4. For OAuth-based connectors, make sure your application has been approved for the necessary scopes. If the problem persists after verifying these points, you may need to provide more specific information about the connector you're trying to set up and the environment you're running Airbyte in for a more targeted solution.