good morning <@U04S8PLJWMT>, when creating a Sales...
# ask-ai
a
good morning @kapa.ai, when creating a Salesforce connection I am getting this error: "An unknown error occurred. (HTTP 413)" even if only one column is selected
k
Good morning! The "HTTP 413" error ("Request Entity Too Large") when creating a Salesforce connection in Airbyte typically means that the request payload being sent to the server exceeds the maximum allowed size. This can happen even if you select only one column, especially if your Salesforce instance has a very large schema (many objects/tables or fields), because Airbyte fetches the entire schema during the connection setup process. This issue has been reported by other users, not just with Salesforce but also with other sources like Oracle, MSSQL, and Postgres, especially when the source database contains a large number of tables or fields. The error is often related to the configuration of the reverse proxy (like nginx) or internal Airbyte limits on request size. Adjusting nginx's client_max_body_size or similar settings in Kubernetes ingress has helped some users, but not always, as Airbyte itself may have internal limits as well. For example, increasing the nginx limit or adding the following annotation to your ingress may help:
Copy code
yaml metadata:   annotations:     nginx.ingress.kubernetes.io/proxy-body-size: "50m"
However, some users have reported that even after increasing these limits, the error persists, indicating that there may be hardcoded or internal Airbyte limits that are not easily configurable from the outside. In some cases, reinstalling Airbyte using the official docker-compose method resolved the issue out-of-the-box, possibly due to updated default settings in newer Airbyte versions. If you are running Airbyte on Kubernetes, editing the ingress resource as shown above has worked for some users, but this is considered a temporary fix and may not address all underlying causes. If you are running Airbyte with Docker, ensure you are using the latest version, as some users have found that newer releases handle large schemas better by default. If you continue to experience this issue, even with only one column selected, it is likely due to the overall size of the schema metadata being fetched, not just the number of columns selected for sync. Unfortunately, the knowledge sources do not provide a definitive solution for reducing the schema size or bypassing this limitation in Airbyte OSS at this time. You may want to follow or contribute to related GitHub issues for updates and potential workarounds as they become available. For reference, see the following discussions and issues: [Github Issue: 413 when creating connection](https://github.com/airbytehq/airbyte/issues/45423), [Forum: 413 Request Entity Too Large nginx/1.23.2](https://discuss.airbyte.io/t/3333), [Github Issue: Error fetching large schema](https://github.com/airbytehq/airbyte/issues/37463). If you need further assistance, please provide details about your deployment (Docker/Kubernetes, Airbyte version, etc.), and any relevant logs or error messages.