Bryan Meyerovich
11/20/2026, 3:36 PMkapa.ai
11/20/2026, 3:36 PM"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.Bryan Meyerovich
11/20/2026, 3:36 PMBryan Meyerovich
11/20/2026, 3:37 PMkapa.ai
11/20/2026, 3:37 PMBryan Meyerovich
11/20/2026, 3:37 PMBryan Meyerovich
11/20/2026, 3:37 PMkapa.ai
11/20/2026, 3:37 PMError, 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.