<@U04S8PLJWMT> “An unknown error has occurred” whe...
# ask-ai
b
@kapa.ai “An unknown error has occurred” when trying async job
k
Thinking completed This error most likely comes from the Facebook Marketing source, not from Airbyte itself. The knowledge sources don't give a definitive fix, so some of what follows is inference. What it means In a similar forum case, the Facebook API returned HTTP 500 with
"code": 1, "message": "An unknown error occurred"
for an insights job. The support response was that this is an error on Facebook's side, and the response body contains no information about the reason. [Forum post] How the connector handles it • If an async insights job fails, the connector first resets the job and retries it once. On the second failure it splits the job into smaller jobs, going from account to campaign, then ad set, then ad. [async_job.py] • To split a job, it starts a small async job to collect child IDs. This job is retried up to 3 times when Facebook returns
Job Failed
or
Job Skipped
. After that it raises a transient error. [async_job.py] What you can try 1. Re-run the sync. In the forum case, the sync worked on the third attempt after two failures with the same error. 2. Use a smaller date range, for example a later start date, to check whether the report can be generated. 3. Check custom insights. The forum case involved a custom insight with a
product_id
breakdown. Simplifying the breakdowns or fields may help, though the sources don't confirm this. 4. Contact Facebook support if the error persists, since the cause is on their side. If you share the full log, such as the request params, breakdowns, and HTTP status, I can help narrow it down. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
b
not facebook
@kapa.ai not facebook
k
Thinking completed Sorry about that. My previous answer assumed Facebook Marketing without any basis, and the knowledge sources I have now contain nothing relevant to this error. Please disregard it. I can't say what is causing "An unknown error has occurred" during an async job without more detail. Could you share: 1. The connector (source or destination) and its version. 2. The full log or stack trace around the error. 3. Your Airbyte version and deployment (Cloud, abctl, Docker, Kubernetes). 4. The stream or sync mode that was running when it failed. With those details I can look for a more specific cause. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
b
how do i see the full log
@kapa.ai how do i see hte full log
k
Thinking completed Viewing the full log in the UI 1. Click Connections and select your connection. 2. Open the Job History tab (or Timeline in Airbyte Cloud) to see the latest syncs. [Browsing logs; Connection timeline] 3. Select the three grey dots next to the sync and choose View logs. This opens the full-screen in-app log viewer. [Browsing logs] To find the error, search for
Error
,
Exception
, or
Fail
. The viewer only searches within the current attempt. [Browsing logs] Downloading the full log Select the three grey dots next to the sync and choose Download logs. You can also use the download button in the log viewer. If the sync had multiple attempts, the download combines the logs from all attempts, and it's the best way to search across them. [Browsing logs] Sharing a job link To give others a link to the job, choose Copy link to job from the same menu. [Browsing logs] Open Source only: local logs On Airbyte Open Source, you can also read logs from the Docker volume, for example in
/tmp/workspace/job_id/attempt/logs.log
. [Exploring local logs] Once you have the log, paste the lines around the error here and I can take a look. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.