Peter Holterman
08/25/2025, 11:15 AMkapa.ai
08/25/2025, 11:15 AM/api/v1/workspaces/list in Airbyte typically means that your credentials are valid, but you do not have permission to access the requested resource. This is different from a 401 error, which indicates invalid or missing authentication. Here are some possible reasons for the 403 error: 1. Incorrect API Path: For Airbyte OSS and Self-Managed deployments, the correct API path should include /api/public/v1/ instead of /api/v1/. For example, you should use: GET <YOUR_WEBAPP_URL>/api/public/v1/workspaces instead of /api/v1/workspaces/list. The /api/v1/workspaces/list endpoint is not documented in the official API references, and using undocumented or incorrect endpoints can result in a 403 error even with valid credentials. This is a common source of confusion, as highlighted in community discussions and documentation [see here](https://docs.airbyte.com/platform/api-documentation) and [here](https://github.com/airbytehq/airbyte/discussions/51531). 2. Insufficient Permissions: If you are using Airbyte Enterprise, your application key (client_id/client_secret) must have the necessary permissions to access the resource. If your user or application does not have access to the workspace or the endpoint, you will receive a 403 error. Make sure your application is configured correctly in the Airbyte UI and that you are using the correct access token [see here](https://docs.airbyte.com/platform/enterprise-setup/api-access-config). 3. Endpoint Does Not Exist or Is Deprecated: The endpoint /api/v1/workspaces/list does not appear in the official OpenAPI specification or documentation. The correct endpoint for listing workspaces is: GET /api/public/v1/workspaces or, for Airbyte Cloud: GET https://api.airbyte.com/v1/workspaces Using an incorrect or deprecated endpoint can result in a 403 or 404 error [see here](https://docs.airbyte.com/platform/api-documentation). Recommendation: - Double-check that you are using the correct API endpoint for your Airbyte deployment. - Ensure your access token is valid and has not expired. - Verify that your application/user has the necessary permissions. If you switch to the correct endpoint and still receive a 403, review your application's permissions in the Airbyte UI. Example of correct usage for OSS/Self-Managed: bash curl -X GET "<YOUR_WEBAPP_URL>/api/public/v1/workspaces" \ -H "Authorization: Bearer <access_token>" Replace <YOUR_WEBAPP_URL> and <access_token> with your actual values. For more details, see the official documentation: [API documentation](https://docs.airbyte.com/platform/api-documentation) and [Configuring API Access](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access).