Geoff Massanek
12/08/2025, 6:10 PMDocStoreAccessException
- Error: HTTP 500 Internal Server Error when calling writeWorkloadOutput
- When testing the endpoint manually: POST /api/v1/workload/{id}/output returns 404
Logs:
io.airbyte.workers.workload.exception.DocStoreAccessException: Unable to write output
Caused by: java.io.IOException: HTTP error: 500 Internal Server Error
at io.airbyte.api.client.generated.WorkloadOutputApi.writeWorkloadOutput
Question: Is the workload API output write endpoint supposed to exist in community edition v2.0.1? The workload API server starts successfully but this endpoint appears to be missing, preventing any source from being added.
Has anyone else experienced this or know of a workaround?kapa.ai
12/08/2025, 6:10 PMDocStoreAccessException, resulting in a 5xx in the UI) matches problems others have hit around the workload API layer and its configuration on Kubernetes. From the available information: 1. The write-output endpoint is expected to exist The error you’re seeing (DocStoreAccessException: Unable to write output ... HTTP 500) comes from the connector-sidecar trying to persist job output via the workload API. This same failure mode is shown in another issue, where the stack trace is identical in structure and originates from JobOutputDocStore.writeOutput inside the sidecar.[[workload SA issue](https://github.com/airbytehq/airbyte/issues/50979)] That implies the endpoint is part of the OSS control plane, not a cloud-only feature. 2. 504/500 errors are usually configuration, not “endpoint missing” In a related issue, connection tests for all connectors were failing because the workload API calls were rejected with 401 Unauthorized, and the root cause was misaligned WORKLOAD_API_AUTH_HEADER / WORKLOAD_API_BEARER_TOKEN between the Worker and the Workload API Server; fixing those env vars on all involved deployments resolved the problem.[[502 source setup](https://github.com/airbytehq/airbyte/issues/65567)] In your case, a `404`/`500` on writeWorkloadOutput is more consistent with: - Wrong or mismatched WORKLOAD_API_HOST / path routing in front of the workload API server, or - Auth header/token mismatch causing the server to reject the request (depending on how your ingress / service is set up). 3. Similar symptoms when workload side components are misconfigured There are additional reports where: - Workload pods were misconfigured (missing service account, secrets, or env), causing the connector-sidecar to fail when talking to the workload API / storage layer.[[workload SA issue](https://github.com/airbytehq/airbyte/issues/50979)] - Source-test pods worked only after adding the correct AWS / secret-manager environment variables to the workload-launcher, so that spawned pods had the expected environment.[[EKS 1.2.0 source test](https://github.com/airbytehq/airbyte/issues/48809)] Given the knowledge sources, I cannot find explicit documentation that the writeWorkloadOutput endpoint is disabled or removed in OSS 2.0.1; all evidence points to it being part of the normal OSS workload API behavior, and that failures like yours are due to configuration or environment mismatches rather than an edition limitation. ### Suggested checks / workaround (in line with known fixes) From the similar issues, the concrete workarounds were: 1. Align workload API auth across components Ensure WORKLOAD_API_AUTH_HEADER and WORKLOAD_API_BEARER_TOKEN are set identically on: - Workload API server deployment - Worker (or equivalent workload-launcher) deployment Exactly as done here (adapt namespaces/deployment names to your install):[[502 source setup](https://github.com/airbytehq/airbyte/issues/65567)] bash TOKEN=$(openssl rand -hex 24) kubectl -n <namespace> set env deployment/<workload-api-server> \ WORKLOAD_API_AUTH_HEADER=Authorization \ WORKLOAD_API_BEARER_TOKEN=$TOKEN kubectl -n <namespace> set env deployment/<worker> \ WORKLOAD_API_AUTH_HEADER=Authorization \ WORKLOAD_API_BEARER_TOKEN=$TOKEN Then restart pods and re-test creating a source. 2. Verify workload pods’ environment and service account - Confirm the connector pods (including connector-sidecar) have the expected env vars (WORKLOAD_API_HOST, auth header/token, storage config like S3 bucket, etc.). - Ensure workload pods are created with the right service account and any IAM / instanceProfile configuration you rely on; missing SA/permissions have also led to DocStoreAccessException when writing output in prior versions.[[workload SA issue](https://github.com/airbytehq/airbyte/issues/50979)] If after aligning these settings you still see 404 on POST /api/v1/workload/{id}/output, the current knowledge sources do not provide more specific guidance, and you may need to open a new GitHub issue with your exact Helm values and the workload API server logs.Geoff Massanek
12/08/2025, 7:25 PMbash
curl -X POST http://airbyte-workload-api-server-svc:8001/api/v1/workload/test-workload-id/output \
-H 'Authorization: Bearer 3df8842d0e4efec4f523e6d9359b9ce4b04bda95c7382bf8' \
-H 'Content-Type: application/json' \
-d '{"success":true}'
Result:
< HTTP/1.1 404 Not Found
< date: Mon, 8 Dec 2025 19:22:53 GMT
< content-length: 0
Also tried: POST /api/v1/workload/output → 405 Method Not Allowed
What's working:
✓ MySQL connection verified (tested directly from cluster)
✓ Network/VPC connectivity working
✓ S3 storage properly configured
✓ Auth tokens set correctly
Environment:
- Airbyte Helm Chart: 2.0.19
- Airbyte App Version: 2.0.1
- Edition: Community (OSS)
- Storage: S3 (type: "s3", authenticationType: "instanceProfile")
- Buckets: log, state, workloadOutput, auditLogging, activityPayload
The MySQL connector successfully performs the connection check, but the
connector-sidecar fails to write output because the endpoint returns 404.
Is there additional configuration needed to enable the output write endpoint?kapa.ai
12/08/2025, 8:03 PMkapa.ai
12/08/2025, 8:03 PMDocStoreAccessException: Unable to write output ... stack traces you’re seeing match reports from other OSS Kubernetes installs where the connector‑sidecar tries to persist output via the workload API and fails when talking to the storage/doc store layer.[[workload SA issue](https://github.com/airbytehq/airbyte/issues/50979); [S3/Minio DocStore](https://github.com/airbytehq/airbyte/issues/59197)] Those issues were not attributed to an “enterprise‑only” endpoint, but to configuration problems (service account/permissions, storage config). 2. Auth header / bearer token alignment is a known cause of 4xx/5xx, but you already fixed that class of issue Another user with HTTP 5xx when configuring connectors resolved it by aligning WORKLOAD_API_AUTH_HEADER and WORKLOAD_API_BEARER_TOKEN across worker and workload‑api‑server (and in some workarounds, also server/worker/launcher).[[502 setup fix](https://github.com/airbytehq/airbyte/issues/65567)] You’ve now set those on all three components with the same token, which matches the suggested fix, so the 404 you get from POST /api/v1/workload/{id}/output is not explained by the misaligned‑token problem referenced in the sources. 3. 404 on the workload API endpoint is not documented in the sources None of the linked GitHub issues or forum threads mention: - Needing to enable the output endpoint via a feature flag or Helm value, or - A known bug in chart 2.0.x where /api/v1/workload/{id}/output returns 404. The closest Helm‑2.0.x issue talks about having to set STORAGE_BUCKET_AUDIT_LOGGING to avoid a server pod crash, and about readiness/liveness probes returning 404 for the workload‑api‑server, but it does not mention the output write path specifically.[[2.0.0 chart issues](https://github.com/airbytehq/airbyte/issues/68134)] 4. Other storage / doc‑store failures were due to S3/minio or IAM/config, not the endpoint being absent - One report shows DocStoreAccessException when writing connector output in an S3/Minio context; it’s treated as a doc‑store access problem, not as a missing API route.[[S3/Minio DocStore](https://github.com/airbytehq/airbyte/issues/59197)] - Another mentions Kubernetes/Helm deployments where the connector‑sidecar env contains S3 bucket variables (STORAGE_BUCKET_LOG, STORAGE_BUCKET_STATE, STORAGE_BUCKET_WORKLOAD_OUTPUT, STORAGE_TYPE=S3) and a WORKLOAD_API_BEARER_TOKEN from a secret, again with no special flag to enable the output endpoint.[[EKS 1.2.0 env](https://github.com/airbytehq/airbyte/issues/48809); [Helm SA/env](https://github.com/airbytehq/airbyte/issues/50979)] Given all this: - The sources strongly imply that the workload output write endpoint is expected to be present and used in OSS, including in Kubernetes/Helm deployments. - They do not describe any additional configuration (Helm values or env vars) required to “turn on” that endpoint beyond: - Correct workload‑API auth header/token, and - Correct storage (S3/minio) configuration and permissions. Because there is no mention of a 404 on /api/v1/workload/{id}/output or a chart/app 2.0.1 bug that removes or renames that route in the provided knowledge, I can’t say with confidence why you’re seeing 404, nor suggest a specific Helm or env tweak to expose that path. At this point, based only on the available sources: - You’ve already applied the known auth‑token workaround from similar 502/401 issues.[[502 setup fix](https://github.com/airbytehq/airbyte/issues/65567)] - Your S3 buckets and storage envs match the patterns in working deployments from earlier versions.[[EKS 1.2.0 env](https://github.com/airbytehq/airbyte/issues/48809); [Helm SA/env](https://github.com/airbytehq/airbyte/issues/50979)] The knowledge sources do not contain enough information to explain or resolve a 404 specifically on POST /api/v1/workload/{id}/output in 2.0.1 OSS. The next step would be to open a new GitHub issue for the Airbyte team including: - Your Helm values (especially global, workload-api-server, storage buckets, auth‑related values). - Logs from the workload-api-server pod around the time you hit the 404. - An example failing connection‑test attempt with the corresponding connector-sidecar logs. That will help confirm whether this is a 2.0.1 bug or some undocumented configuration edge case.Geoff Massanek
12/08/2025, 8:28 PMbash
kubectl get deployment airbyte-workload-launcher -n airbyte-v2 \
-o jsonpath='{.spec.template.spec.containers[0].env[?(@.name=="WORKLOAD_API_BEARER_TOKEN")]}'
# Output: WORKLOAD_API_BEARER_TOKEN: 3df8842d0e4efec4f523e6d9359b9ce4b04bda95c7382bf8
But connector-sidecar containers DON'T have it:
bash
kubectl get pod source-mysql-check-XXX -n airbyte-v2 \
-o json | jq '.spec.containers[] | select(.name=="connector-sidecar") | .env[] | select(.name | contains("WORKLOAD_API"))'
# Output: Only has WORKLOAD_API_HOST, timeouts, retries - NO auth tokens
Connector-sidecar logs show:
INFO: Config check completed successfully.
INFO: Writing output to doc store
ERROR: HTTP error: 500 Internal Server Error
ERROR: DocStoreAccessException: Unable to write output
Question:
How do we configure the Helm chart (v2.0.19, app v2.0.1) so that
connector-sidecar containers receive WORKLOAD_API_AUTH_HEADER and
WORKLOAD_API_BEARER_TOKEN?
We've tried:
1. Setting in workloadLauncher.extraEnv ✓ (launcher has them, but doesn't pass to sidecar)
2. Adding to ConfigMap airbyte-airbyte-env ✓ (sidecar still doesn't get them)
3. No "sidecar.extraEnv" or similar found in Helm values
Is there a missing configuration option, or is this a bug in v2.0.1 OSS?
Environment: AWS EKS 1.31, S3 storage (instanceProfile auth), external RDSkapa.ai
12/08/2025, 8:28 PMkapa.ai
12/08/2025, 8:28 PMWORKLOAD_API_AUTH_HEADER / WORKLOAD_API_BEARER_TOKEN into the connector-sidecar containers, and the way those env vars flow into job pods is not exposed in the docs. What we can see: - In prior Helm-based installs, the connector-sidecar env is populated with many workload‑API and storage variables, including WORKLOAD_API_BEARER_TOKEN coming from a secret, not from the global ConfigMap or launcher env.[[EKS 1.2.0 env](https://github.com/airbytehq/airbyte/issues/48809); [Helm SA/env](https://github.com/airbytehq/airbyte/issues/50979)] - In those examples, the sidecar has e.g.: yaml - name: WORKLOAD_API_BEARER_TOKEN valueFrom: secretKeyRef: key: WORKLOAD_API_BEARER_TOKEN name: airbyte-airbyte-secrets which is injected by the platform’s template logic, not configured per‑pod via Helm values.[[EKS 1.2.0 env](https://github.com/airbytehq/airbyte/issues/48809); [Helm SA/env](https://github.com/airbytehq/airbyte/issues/50979)] - Other users who hit 401/502 between worker and workload‑api‑server fixed it by setting matching env vars on the worker and workload‑api‑server deployments (and sometimes the abctl worker/server), not by directly configuring the job pods.[[502 setup fix](https://github.com/airbytehq/airbyte/issues/65567)] None of those reports describe needing to add extra Helm values to propagate tokens into connector-sidecar. - There is a related open issue about proxy env vars not being propagated into launched job pods (sidecar/main containers), even when set in `global.env_vars`; this suggests that not all envs from Helm/global are passed through to job pods and that the propagation logic is currently limited.[[Proxy vars sidecar](https://github.com/airbytehq/airbyte/issues/56917)] Putting this together: - In working examples, WORKLOAD_API_BEARER_TOKEN for sidecars comes from a secret wired into the platform templates, not from Helm‑user‑configurable extraEnv. - Users can align tokens between worker and workload‑api‑server, but there is no documented knob to also inject those auth vars into connector-sidecar via Helm. - There is precedent (proxy issue) that some envs simply don’t reach sidecars, and that’s being tracked as a product bug/limitation rather than a configuration issue.[[Proxy vars sidecar](https://github.com/airbytehq/airbyte/issues/56917)] Given the available sources, I cannot point you to a supported Helm value like sidecar.extraEnv or similar for chart v2.0.19 that would solve this. The behavior you’re seeing—launcher has the vars, sidecar does not, causing 401/500 on `writeWorkloadOutput`—is consistent with an omission in the job‑pod/sidecar env propagation logic, not with a missing documented configuration step. So, based strictly on the current knowledge: - There is no documented configuration option in Helm v2.0.19 to ensure connector-sidecar gets WORKLOAD_API_AUTH_HEADER / WORKLOAD_API_BEARER_TOKEN. - The pattern in older issues suggests these should be wired from a secret by the platform itself; if that’s not happening in 2.0.1 OSS for you, it is very likely a bug or regression rather than a config oversight. - The closest related issue (proxy vars not reaching sidecars) reinforces that env propagation to sidecars is incomplete and being worked on.[[Proxy vars sidecar](https://github.com/airbytehq/airbyte/issues/56917)] I’d recommend opening a GitHub issue with: - Your chart/app versions (2.0.19 / 2.0.1), - Snippets of: - airbyte-workload-launcher deployment env, - A source-*-check-* pod spec showing missing WORKLOAD_API_* env in connector-sidecar, - Confirmation that WORKLOAD_API_* are set identically on worker and workload‑api‑server. That will allow the Airbyte team to confirm whether this is a known bug in v2.0.1 OSS and, if so, either provide a patch or a documented workaround.Geoff Massanek
12/08/2025, 8:59 PMkapa.ai
12/08/2025, 8:59 PMkapa.ai
12/08/2025, 8:59 PMWORKLOAD_API_BEARER_TOKEN is injected from a secret (e.g. airbyte-airbyte-secrets), and that wiring is done by the platform itself, not by user Helm values.[[EKS env example](https://github.com/airbytehq/airbyte/issues/48809); [Helm SA/env](https://github.com/airbytehq/airbyte/issues/50979)] That means many users never had to think about propagating this env var; the sidecar just got it. - Other people hitting 401/502 workload API issues have fixed them by aligning the auth header/token between the worker and the workload‑api‑server (and in some cases the local abctl worker/server), without touching job pods at all.[[502 setup fix](https://github.com/airbytehq/airbyte/issues/65567); [502 S3 auth](https://github.com/airbytehq/airbyte/issues/66692)] None of those reports mention needing to manually wire WORKLOAD_API_BEARER_TOKEN into connector-sidecar. - There is a separate, open issue where environment variables (proxy settings) do not make it into the sidecar/main containers of job pods, even though they are present on the platform deployments and in global.env_vars.[[Proxy vars sidecar](https://github.com/airbytehq/airbyte/issues/56917)] This shows that: - Env propagation into job pods is selective, and - There are known gaps specifically around sidecar env handling. What we don’t have in the sources: - Any explanation that “some setups don’t need the workload API auth in the sidecar.” The sidecar is the component writing to the workload API, so in the general case it does need to authenticate. - Any documented configuration path in Helm v2 to bypass or disable this auth for OSS. - Any note that “Airbyte 2.0.1 OSS requires X special value for sidecar auth” that you might have missed. So based only on the available information: - For older versions, the sidecar token is expected to come from a secret that the platform wires automatically; users don’t configure it directly.[[EKS env example](https://github.com/airbytehq/airbyte/issues/48809); [Helm SA/env](https://github.com/airbytehq/airbyte/issues/50979)] - Other 5xx/401 issues have been solved by aligning tokens on the platform deployments, not on the job pods.[[502 setup fix](https://github.com/airbytehq/airbyte/issues/65567)] - There is already a pattern of “envs not reaching sidecars even though they’re in global config,” which is tracked as a product issue, not a user‑config problem.[[Proxy vars sidecar](https://github.com/airbytehq/airbyte/issues/56917)] That’s why your current situation is plausible: - In your 2.0.1 install, the worker and workload‑api‑server now agree on auth (you fixed that). - But whatever is supposed to inject the token into connector-sidecar either: - Isn’t wired correctly, or - Relies on a secret/config that doesn’t exist in your setup. The knowledge sources do not describe: - A supported way to turn off workload‑API auth for sidecars, or - A Helm value that forces WORKLOAD_API_* into connector-sidecar. So I can’t point you to a configuration‑only workaround that avoids propagating auth to the sidecar. In other words: - Yes, if this wiring is broken in your specific path through the Helm chart, it could block 2.0.1 OSS for some users. - The sources don’t tell us why it works for others (e.g., perhaps different chart version, different env‑to‑secret mapping, or an implicit secret that’s present in their installs). - There’s no documented “alternate mode” you can switch to that skips sidecar auth. Given that you’ve already aligned the tokens on all three deployments and confirmed the endpoint now exists (401 instead of 404), you’ve exhausted all the known workarounds from the existing issues. At this point, the GitHub issue you opened is the right path; the current knowledge doesn’t provide a configuration knob to make 2.0.1 OSS work without fixing how the sidecar gets its auth env.Geoff Massanek
12/08/2025, 9:12 PMkapa.ai
12/08/2025, 9:13 PMkapa.ai
12/08/2025, 9:13 PMWORKLOAD_API_AUTH_HEADER and WORKLOAD_API_BEARER_TOKEN on those deployments.[[502 setup fix](https://github.com/airbytehq/airbyte/issues/65567); [502 error workaround](https://github.com/airbytehq/airbyte/issues/66692)] - Env propagation to job pods / sidecars is incomplete for some variables (e.g. proxy env vars not reaching sidecars even though they’re in global.env_vars), and this is tracked as a product issue.[[Proxy vars sidecar](https://github.com/airbytehq/airbyte/issues/56917)] - In earlier working Helm installs, the connector-sidecar does get WORKLOAD_API_BEARER_TOKEN from a secret (e.g. airbyte-airbyte-secrets), injected by the platform templates, not via user Helm env overrides.[[EKS 1.2.0 env](https://github.com/airbytehq/airbyte/issues/48809); [Helm SA/env](https://github.com/airbytehq/airbyte/issues/50979)] What is not in the sources: - Any statement that OSS 2.0.1 in general is broken or unsupported. - Any description of your exact failure mode (workload API auth reaching worker/launcher but not connector‑sidecar) as a known 2.0.1 bug with a published workaround. - Any Helm value to force WORKLOAD_API_* into connector-sidecar, or a documented way to disable workload‑API auth for sidecars in OSS. So all the evidence we have suggests: - Other users are running 2.x successfully (e.g., 2.0.18).[[2.0.0 chart issues](https://github.com/airbytehq/airbyte/issues/68134)] - There are known rough edges around workload API auth and env propagation that can break specific deployments until they’re patched or configured carefully.[[502 setup fix](https://github.com/airbytehq/airbyte/issues/65567); [Proxy vars sidecar](https://github.com/airbytehq/airbyte/issues/56917)] - Your specific sidecar‑auth propagation issue is not clearly documented in the sources, so we can’t say whether it affects all OSS 2.0.1 installs or only some combinations of chart values / environments. In short: the knowledge sources do not support the claim that “nobody can use OSS 2.0.1”; they only show that some users (like you) are hitting workload‑API‑related bugs or configuration gaps, and that others have 2.x working after adjustments.Geoff Massanek
12/08/2025, 9:24 PMkapa.ai
12/08/2025, 9:24 PMkapa.ai
12/08/2025, 9:24 PMairbyte-v2/airbyte 2.0.18 - App (Airbyte) version: 2.0.0 This is shown both in the docs and in a user confirmation: - The docs list 2.0.18 as the chart that deploys Airbyte 2.0.0 and use it as the example for installing “Airbyte version 2.0” with Helm chart V2.[\[chart v2 docs\]](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#deploy-airbyte) - In the “Multiple issues with 2.0.0 chart” thread (about Helm chart V1), a user explicitly states: > “Everything works properly with helm chart version 2.0.18.”[\[2.0.0 chart issues\]](https://github.com/airbytehq/airbyte/issues/68134) By contrast: - V1 Helm chart 2.0.0 / 2.0.1 were removed and you’re instructed to use V1 chart 1.9.1 if you want to run Airbyte 2.0.1 on the legacy chart.[\[2.0.1 V1 note\]](https://github.com/airbytehq/airbyte/issues/68136) - There is no explicit success report in the sources for chart 2.0.19 / app 2.0.1 in OSS, and you’re currently hitting issues there. So, based strictly on what’s documented: > The most recent Helm chart / Airbyte combination that is clearly documented as working in OSS and recommended in the docs is Helm chart 2.0.18 with app version 2.0.0.Geoff Massanek
12/09/2025, 7:07 PMShawna Zhao
03/13/2026, 9:14 AMFailed to connect to airbyte-workload-api-server-svc.airbyte/xx.xx.xx:8001 regularly showing up
3. sometimes the init container error out and I see the pod airbyte-workload-api starting restarting when that happen
4. my destination connector has more backend errors showing up....
as a result my syncs are super slow and have multiple attempts to complete. Not sure if you have solved some of the issues. or have you tried Helm chart 2.0.18?Joseph Kosen
03/13/2026, 10:15 AMworkloadLauncher:
enabled: true
extraEnv:
- name: AB_JWT_SIGNATURE_SECRET
valueFrom:
secretKeyRef:
key: "jwt-signature-secret"
name: "airbyte-auth-secrets"
Airbyte newer applications use this to authenticate between services and i noticed the workload launcher was the only one missing this config. This config is also passed down to the actual jobs like the replication jobs