<@U04S8PLJWMT> ync failed 0 bytes | no records loa...
# ask-ai
i
@kapa.ai ync failed 0 bytes | no records loaded | 19m 13s Warning from airbyte_platform: Something went wrong within the airbyte platform Activity with activityType='CreateNewAttemptNumber' failed: 'Activity task failed'. scheduledEventId=91, startedEventId=92, activityId=6fffc03c-451b-3d00-944b-2f3295197327, identity='1@airbyte-worker-7489bdf4dd-gkvg7', retryState=RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED Getting this error
k
The error message you are seeing:
Copy code
Activity with activityType='CreateNewAttemptNumber' failed: 'Activity task failed'. ... retryState=RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED
indicates that Airbyte has retried the sync job the maximum number of times allowed, but each attempt failed. This is consistent with Airbyte's retry logic: by default, Airbyte will retry a job up to 5 times if no data was synchronized, up to 10 times in total if no data was synchronized, or up to 20 times if some data was synchronized. After reaching these limits, the job is marked as failed and will not be retried further. The "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED" message confirms this behavior [see documentation](https://docs.airbyte.com/platform/next/understanding-airbyte/jobs#sync-jobs). The warning "Something went wrong within the airbyte platform" and the failure of the
CreateNewAttemptNumber
activity suggest an internal platform or infrastructure issue, rather than a problem with your source or destination configuration. This could be due to a transient system error, resource exhaustion, or a bug in the Airbyte platform itself. Recommended steps: 1. Check the detailed logs for the failed sync attempt in the Airbyte UI. This may provide more context about the root cause. 2. Review the Airbyte Status page for any ongoing incidents or maintenance that could affect platform stability. 3. If the error persists across multiple jobs or connections, consider restarting the Airbyte platform or contacting Airbyte support, as this may indicate a deeper platform issue. 4. If you are self-hosting, ensure your infrastructure (memory, CPU, storage) is healthy and that all Airbyte services are running as expected. If you see this error repeatedly and it is not resolved by retrying or restarting, it is likely a platform-level issue that requires intervention from your Airbyte administrator or support team. For more on Airbyte's retry logic and job failure handling, see the official documentation: [Sync Jobs: Attempts and Retries](https://docs.airbyte.com/platform/next/understanding-airbyte/jobs#sync-jobs).
i
@kapa.ai ogger(info):82 - Hydrating job 54968 2025-11-01 001107,584 [io-executor-thread-4] WARN i.g.o.k.s.i.Slf4jLogger(warn):113 - Missing stats for job 54968 attempt 0 2025-11-01 001107,636 [io-executor-thread-8] INFO i.g.o.k.s.i.Slf4jLogger(info):82 - Hydrating job 54968 2025-11-01 001107,636 [io-executor-thread-8] WARN i.g.o.k.s.i.Slf4jLogger(warn):113 - Missing stats for job 54968 attempt 0 2025-11-01 001211,924 [io-executor-thread-1] INFO i.g.o.k.s.i.Slf4jLogger(info):82 - Hydrating job 54968 2025-11-01 001211,924 [io-executor-thread-1] WARN i.g.o.k.s.i.Slf4jLogger(warn):113 - Missing stats for job 54968 attempt 0 2025-11-01 030927,089 [io-executor-thread-2] INFO i.g.o.k.s.i.Slf4jLogger(info):82 - Hydrating job 54968 2025-11-01 030927,089 [io-executor-thread-2] WARN i.g.o.k.s.i.Slf4jLogger(warn):113 - Missing stats for job 54968 attempt 0 io.airbyte.commons.server.errors.IdNotFoundKnownException: Could not find attempt stats for job_id: 54968 and attempt no: 0 message: Id not found: Could not find attempt stats for job_id: 54968 and attempt no: 0 exceptionStack: [io.airbyte.commons.server.errors.IdNotFoundKnownException: Id not found: Could not find attempt stats for job_id: 54968 and attempt no: 0, at io.airbyte.commons.server.errors.handlers.IdNotFoundExceptionHandler.handle(IdNotFoundExceptionHandler.kt:32), at io.airbyte.commons.server.errors.handlers.IdNotFoundExceptionHandler.handle(IdNotFoundExceptionHandler.kt:24), at io.micronaut.http.server.RequestLifecycle.lambda$handlerExceptionHandler$10(RequestLifecycle.java:314), at io.micronaut.http.server.RequestLifecycle.handlerExceptionHandler(RequestLifecycle.java:326), at io.micronaut.http.server.RequestLifecycle.onErrorNoFilter(RequestLifecycle.java:253), at io.micronaut.http.server.RequestLifecycle.lambda$onErrorNoFilter$2(RequestLifecycle.java:215), at io.micronaut.core.execution.ImperativeExecutionFlowImpl.onErrorResume(ImperativeExecutionFlowImpl.java:112), at io.micronaut.core.execution.DelayedExecutionFlowImpl$OnErrorResume.apply(DelayedExecutionFlowImpl.java:393), at io.micronaut.core.execution.DelayedExecutionFlowImpl.work(DelayedExecutionFlowImpl.java:58), at io.micronaut.core.execution.DelayedExecutionFlowImpl.completeLazy(DelayedExecutionFlowImpl.java:80), at io.micronaut.core.execution.DelayedExecutionFlowImpl.completeExceptionally(DelayedExecutionFlowImpl.java:104), at io.micronaut.core.execution.DelayedExecutionFlow.complete(DelayedExecutionFlow.java:100), at io.micronaut.core.execution.ImperativeExecutionFlowImpl.onComplete(ImperativeExecutionFlowImpl.java:132), at io.micronaut.core.execution.ExecutionFlow.lambda$async$0(ExecutionFlow.java:92), at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:232), at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144), at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642), at java.base/java.lang.Thread.run(Thread.java:1583), Caused by: io.airbyte.commons.server.errors.IdNotFoundKnownException: Could not find attempt stats for job_id: 54968 and attempt no: 0, at io.airbyte.commons.server.handlers.AttemptHandler.getAttemptCombinedStats(AttemptHandler.kt:251), at io.airbyte.server.apis.controllers.AttemptApiController.getAttemptCombinedStats$lambda$2(AttemptApiController.kt:66), at io.airbyte.server.apis.ApiHelper.execute(ApiHelper.kt:32), at io.airbyte.server.apis.controllers.AttemptApiController.getAttemptCombinedStats(AttemptApiController.kt:65), at io.airbyte.server.apis.controllers.$AttemptApiController$Definition$Exec.dispatch(Unknown Source), at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461), at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4438), at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:272), at io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:38), at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:465), at io.micronaut.http.server.RouteExecutor.lambda$callRoute$5(RouteExecutor.java:442), ... 5 more]
k
A message from kapa.ai
The log messages and exception you are seeing:
Copy code
WARN ... Missing stats for job 54968 attempt 0 io.airbyte.commons.server.errors.IdNotFoundKnownException: Could not find attempt stats for job_id: 54968 and attempt no: 0
indicate that Airbyte is unable to find the statistics for the specified job attempt. This is a known issue that has been reported by multiple users, especially when using external storage backends like GCS or S3 for logs and state. The error is generated when Airbyte tries to retrieve job attempt statistics (such as bytes emitted, records committed, etc.) but cannot find the corresponding data in the storage backend. Key points from the knowledge sources: - This warning/error is often seen in the logs and does not always indicate a failure of the sync itself. Sometimes, it is just a missing stats file or metadata, especially after changing storage backends or during certain platform upgrades or migrations. The sync may still succeed, but the UI or API cannot display stats for the attempt [Forum: JobHistoryHandler - "Missing stats for job" warning](https://discuss.airbyte.io/t/4016). - The error is thrown by the
AttemptHandler.getAttemptCombinedStats
method when it cannot find the stats for a given job and attempt number. This is confirmed in the stack traces and issue reports [Github: Using GCS Results in could not find attempt stats for job_id](https://github.com/airbytehq/airbyte/issues/48503). - Users have reported this issue after migrating from MinIO to GCS or S3, or after changing environment variables related to storage. It is also seen in both Docker and Kubernetes deployments. - There is no clear resolution or workaround documented in the knowledge sources, but the Airbyte team is aware of the issue and has discussed it in GitHub issues and forum posts. It is not always critical unless you rely on the job stats for monitoring or automation. What you can do: - If your syncs are otherwise working and you do not need the stats, you can generally ignore these warnings. - If you need the stats or this is causing functional issues, review your storage configuration and ensure that Airbyte has full read/write access to the storage backend and that no files are missing or corrupted. - If you recently migrated storage backends or upgraded Airbyte, check if the migration process completed successfully and if all relevant files were transferred. - If the problem persists and is blocking your use case, consider opening an issue with detailed logs and your configuration, as the Airbyte team is actively tracking this problem [Github: Using GCS Results in could not find attempt stats for job_id](https://github.com/airbytehq/airbyte/issues/48503). In summary, this is a known Airbyte issue related to missing job attempt stats, often seen with external storage backends. It may not impact sync functionality but does affect stats reporting. There is no definitive fix in the knowledge sources, but reviewing your storage setup and reporting the issue to Airbyte support may help if it is blocking your workflow.
i
@kapa.ai what do i do for the something went wrong with airbyte platofmr my cluster resources seem to be in control
k
A message from kapa.ai
When you see the error "Something went wrong within the airbyte platform" and your cluster resources (CPU, memory, disk) appear to be in control, this typically points to an internal Airbyte platform or orchestration issue rather than a resource exhaustion problem. Based on the knowledge sources, here are recommended steps: 1. Check Detailed Logs: Review the logs for the failed sync attempt in the Airbyte UI or directly from your logging backend. Look for any stack traces or error messages that could provide more context about the failure. Sometimes, errors like
WorkerException
or issues with the replication orchestrator can be found in the logs and may point to a root cause such as a transient system error or a bug in the platform [see example logs and discussion](https://github.com/airbytehq/airbyte/issues/39512). 2. Restart Airbyte Services: Several users have reported that restarting the
airbyte-worker
or the entire Airbyte deployment can temporarily resolve platform-level issues, especially when jobs start failing unexpectedly or pods are not being created as expected. This is a common workaround for transient orchestration or internal state issues [see user experiences](https://discuss.airbyte.io/t/2309). 3. Check Storage and Connectivity: Ensure that Airbyte has proper access to its external storage (S3, GCS, etc.) and database backends. Missing or inaccessible storage can cause internal platform errors, including missing job stats and failed attempts to hydrate job data [see related issues](https://github.com/airbytehq/airbyte/issues/42921). 4. Review Airbyte Version and Configuration: Some platform issues are version-specific or related to configuration mismatches (e.g., resource limits not being respected, or issues with the container orchestrator). Upgrading to the latest stable version and reviewing your Helm/Kustomize configuration may help, as many bugs are fixed in newer releases [see upgrade recommendations](https://discuss.airbyte.io/t/376). 5. If the Problem Persists: - Try running a simple connection (e.g., PokeAPI to your destination) to see if the issue is global or specific to certain connectors. - If you are on Airbyte Cloud, check the [Status page](https://docs.airbyte.com/platform/next/cloud/managing-airbyte-cloud/review-connection-status#connection-troubleshooting) for any ongoing incidents. - If you are self-hosting and the issue continues after restarts and configuration checks, consider opening a support ticket or GitHub issue with detailed logs and your environment details. Summary: This error is often transient and can sometimes be resolved by restarting Airbyte services. If it persists, check logs, storage, and configuration, and consider upgrading or reaching out to support if you cannot identify the root cause. The knowledge sources do not provide a single definitive fix, but these steps are the most common and recommended troubleshooting actions. If you need more specific guidance, please provide the relevant error logs or additional context from your Airbyte deployment.