Google BigQuery报‘unable to find table’:StitchData同步Facebook Ads异常求助
Hey there, let's work through this issue step by step—even as a non-technical user, these checks are straightforward to run:
Possible Causes & Troubleshooting Steps
Table isn't fully created yet (metadata vs. actual table)
BigQuery's UI might show the table and dataset names early, but the actual table might still be in the process of being built by Stitch. Stitch often creates the table structure first, then starts syncing data, which can take a few minutes.- Wait 10-15 minutes and check if the error clears up on its own.
- In BigQuery, go to the
adstable's details page and verify the "Creation time" and "Last modified time"—if the timestamps are recent and align with when you started the sync, it's likely still processing. - Check Stitch's task logs for the Facebook Ads sync to see if there's an ongoing job running.
Mismatched naming (project/dataset/table spelling/case)
Even a tiny typo or case difference can trigger this error, even if the UI looks correct. The error message specifiesdark-alloy-xxxxxx:fb_ads.ads—let's verify this exact path:- Copy the full table path from the error and paste it into BigQuery's search bar. If it doesn't find the table, double-check your project ID, dataset name, and table name for typos (e.g.,
fb_adsvsfb-ads,Adsvsads). - Ensure there are no hidden spaces or special characters in any of the names.
- Copy the full table path from the error and paste it into BigQuery's search bar. If it doesn't find the table, double-check your project ID, dataset name, and table name for typos (e.g.,
Stitch's BigQuery permissions
While Stitch could create the dataset and table, it might lack permissions to query or access the table afterward:- Go to your Stitch account's BigQuery connection settings, confirm the linked service account has roles like
BigQuery Data EditororBigQuery Data Viewerfor thefb_adsdataset. - In BigQuery, manually add the Stitch service account to the
fb_adsdataset with theBigQuery Data Editorrole to rule out permission gaps.
- Go to your Stitch account's BigQuery connection settings, confirm the linked service account has roles like
Stitch sync configuration issues
There might be a misconfiguration in how Stitch is set up to sync the Facebook Adsadstable:- In Stitch, navigate to your Facebook Ads source, go to the "Tables" tab, and confirm the
adstable is marked as "Active" (not disabled). - Check if the table name in Stitch matches exactly what's in BigQuery—sometimes Stitch lets you rename tables during sync, which could cause a mismatch.
- In Stitch, navigate to your Facebook Ads source, go to the "Tables" tab, and confirm the
BigQuery UI caching or metadata delay
Occasionally, BigQuery's UI shows cached metadata that doesn't reflect the actual table state:- Refresh your BigQuery browser tab and check if the
adstable still appears. - Try running a simple query in BigQuery:
SELECT * FROMdark-alloy-xxxxxx.fb_ads.adsLIMIT 1—if this query fails, the table isn't properly created; if it works, the issue is with Stitch's metadata sync, and restarting the Facebook Ads sync task in Stitch might fix it.
- Refresh your BigQuery browser tab and check if the
内容的提问来源于stack exchange,提问作者Vincent Quesada

