<@U04S8PLJWMT> many syncs are failing with this er...
# ask-ai
y
@kapa.ai many syncs are failing with this error: airbyte.workload.api.client.generated.infrastructure.ClientException: Client error : 404 Not Found {"message":"Could not find workload with id
k
The error message you are seeing—`ClientException: Client error : 404 Not Found {"message":"Could not find workload with id`—indicates that Airbyte is attempting to access a workload by its ID, but that workload cannot be found in the database or API. This type of error is often related to issues with database migrations or version mismatches during upgrades. For example, a similar 404 "Object not found" error (
io.airbyte.server.errors.IdNotFoundKnownException
) has been reported after upgrading Airbyte and was resolved by performing sequential upgrades through each minor version, rather than skipping versions. Skipping versions can cause database migrations to be missed, resulting in missing objects or columns and subsequent 404 errors when Airbyte tries to access them. The user who encountered this issue resolved it by rolling back and then upgrading step-by-step through each minor version, which allowed all necessary migrations to be applied properly. It is recommended not to skip minor versions during upgrades to avoid such issues. If you have skipped versions, consider rolling back and upgrading incrementally through each version to ensure all migrations are applied correctly [Update to 0.40.4 - all syncs fail with Object not found](https://discuss.airbyte.io/t/2471). If you recently upgraded Airbyte and are seeing this error, it is likely related to a missed migration or a database state inconsistency. If rolling back and upgrading sequentially is not possible, you may need to investigate the state of your Airbyte database and ensure all migrations have been applied. If you need more specific troubleshooting steps, please provide details about your upgrade path and current Airbyte version.
y
@kapa.ai I also get an error for trying to create new docker connector: is that related? where can i see the full error?
k
Sorry @Yarden Ofir, it looks like your question contains files, which I cannot process. Please reformulate your question without including any files.
y
@kapa.ai I also get an error for trying to create new docker connector:
An unexpected error occurred. Please report this if the issue persists. (HTTP 500)
is that related? where can i see the full error?
k
A message from kapa.ai
The error message
An unexpected error occurred. Please report this if the issue persists. (HTTP 500)
when creating a new Docker connector is a generic internal server error. Based on the knowledge sources, this type of error can have several causes, including: - Issues with connector configuration or compatibility. - Problems with Airbyte's internal services or database state, especially after upgrades or changes. - Network or infrastructure issues (e.g., Kubernetes pod failures, Docker misconfigurations). Is it related to the 404 workload error? While both errors indicate backend issues, there is no explicit information in the knowledge sources confirming a direct relationship between the 404 workload error and the HTTP 500 error when creating a connector. However, both can be symptoms of underlying system or migration issues, especially after upgrades or changes to your Airbyte deployment [Airbyte 1.2.0 on Kubernetes/EKS: Cannot create new sources as "Test the Source" fails with HTTP 500](https://github.com/airbytehq/airbyte/issues/48809), [An unexpected error occurred. Please report this if the issue persists. (HTTP 500)](https://github.com/airbytehq/airbyte/issues/54058). Where to see the full error? To get more details about the error: - If you are using Airbyte Open Source: You can view detailed logs for each sync or connector operation in the UI by navigating to the connection's
Job History
tab, clicking the three dots next to a sync, and selecting
View logs
. For more comprehensive logs, you can also download them from the same menu. Additionally, you can access logs directly from Docker volumes or, if running on Kubernetes, by using
kubectl logs
to inspect the relevant Airbyte pods [Browsing logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs), [Custom images all return 504 when trying to set up local connectors](https://github.com/airbytehq/airbyte/issues/43893). - If using abctl (Kubernetes in Docker): Use the following commands to view pod logs:
Copy code
sh   kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl get pods   kubectl --kubeconfig ~/.airbyte/abctl/abctl.kubeconfig -n airbyte-abctl logs [POD NAME]
This will help you find more specific error messages related to the failed connector creation. If you continue to encounter issues, reviewing these logs will provide more context for troubleshooting or for reporting the problem to the Airbyte team.
a
@Yarden Ofir were you able to solve this?