Hi Team, I am getting following error on my AirBy...
# replication-troubleshooting
v
Hi Team, I am getting following error on my AirByte connection: HTTP Status Code: 404. Error: Not found. The requested resource was not found on the server. I tested everything and source, builders are working just fine.
k
A 404 "Not Found" error in Airbyte typically means that the requested API endpoint or resource does not exist or is not being routed correctly to the appropriate service. Based on the knowledge sources, here are some common causes and troubleshooting steps: 1. Incorrect API Endpoint or Resource ID - If you are calling an API with an incorrect or non-existent resource ID, Airbyte will return a 404 error. Double-check that the IDs (such as connection, workspace, or job IDs) you are using are correct. This is a common cause, as seen in user reports where a wrong connection ID led to a 404 error response from the API server [Airbyte API Server Returning 404 for endpoint](https://discuss.airbyte.io/t/2980). 2. Ingress or Proxy Misconfiguration (Kubernetes Deployments) - If you are running Airbyte on Kubernetes and using an Ingress controller, a misconfiguration can cause API requests to be routed to the wrong service, resulting in 404 errors. For example, if all traffic is routed to the webapp service instead of the connector builder or server service, API endpoints will not be found. The solution is to add specific routing rules for API paths in your Ingress configuration. See the example below for routing
/api/v1/connector_builder
to the correct service [Critical Bug in v1.7.1: Connector Builder is broken due to frontend calling a non-existent API endpoint (404 Not Found)](https://github.com/airbytehq/airbyte/issues/63770):
Copy code
yaml    apiVersion: networking.k8s.io/v1    kind: Ingress    metadata:      name: airbyte-ingress    spec:      rules:        - host: airbyte.your-domain.com          http:            paths:              - path: /api/v1/connector_builder                pathType: Prefix                backend:                  service:                    name: airbyte-airbyte-connector-builder-server-svc                    port:                      number: 80              - path: /                pathType: Prefix                backend:                  service:                    name: airbyte-airbyte-webapp-svc                    port:                      number: 80
3. Frontend/Backend Version Mismatch - If the frontend is calling an endpoint that does not exist in the backend (for example, due to a version mismatch or incomplete upgrade), you will see 404 errors. Ensure that all Airbyte components are running compatible versions and that the upgrade process completed successfully [Critical Bug in v1.7.1: Connector Builder is broken due to frontend calling a non-existent API endpoint (404 Not Found)](https://github.com/airbytehq/airbyte/issues/63770). 4. Custom Connectors or API Calls - If you are developing a custom connector or making direct API calls, verify that the endpoint you are trying to reach is implemented and available. A typo or missing implementation will result in a 404 error [Sync worker failed](https://discuss.airbyte.io/t/581). Summary: - Double-check your resource IDs and API endpoints. - If using Kubernetes, review your Ingress or proxy configuration to ensure API traffic is routed to the correct service. - Make sure all Airbyte components are on compatible versions. - If the issue persists, provide more details (such as the exact endpoint or logs) for further troubleshooting. Let me know if you need help reviewing your configuration or logs!
v
@kapa.ai I don't see nay issue with API endpoints. When I run same API directly from postback payload load just fine.
k
A message from kapa.ai
Thank you for clarifying that the API endpoints work when called directly, and the payload loads as expected. Based on the knowledge sources, if you are still seeing a 404 error within Airbyte but not when calling the API directly, here are the most likely causes: 1. Resource ID or Path Mismatch in Airbyte Configuration Even if the API works directly, Airbyte may be using a different resource ID or path internally. This has been a common cause of 404 errors, as seen in user reports where the wrong connection ID or resource path was used in Airbyte, resulting in a 404, even though the API itself was functional [Airbyte API Server Returning 404 for endpoint](https://discuss.airbyte.io/t/2980). 2. Ingress or Proxy Routing Issue (Kubernetes/Cloud Deployments) If you are running Airbyte behind an Ingress or reverse proxy, it’s possible that certain API paths are not routed to the correct Airbyte service. This can cause 404 errors for specific endpoints, even if the backend is healthy and responds correctly to direct calls. This was the root cause in a reported issue where the Connector Builder API was not reachable due to Ingress misconfiguration, and the fix was to add a specific routing rule for the affected API path [Critical Bug in v1.7.1: Connector Builder is broken due to frontend calling a non-existent API endpoint (404 Not Found)](https://github.com/airbytehq/airbyte/issues/63770). 3. Frontend/Backend Communication Issue If the Airbyte UI or another internal service is not communicating with the backend as expected (for example, due to a misconfigured service URL or network policy), you may see 404 errors in Airbyte even though direct API calls work. What you can do: - Double-check the resource IDs and paths used in your Airbyte connection configuration. - If you are using Kubernetes or a reverse proxy, review your routing rules to ensure all relevant API paths are directed to the correct Airbyte service. - If possible, check Airbyte server logs for more details on the 404 error—sometimes the logs will indicate which path or resource was not found. If you can share the exact Airbyte version, deployment method (Docker, Kubernetes, etc.), and the specific endpoint or connection type, I can help you narrow down the issue further. If none of these apply and everything matches, the knowledge sources do not provide a more specific answer for your scenario. In that case, please provide more details or logs for deeper troubleshooting.