🐛 Source Facebook Marketing: discover is broke when using valid breakdown value in a custom insight #8437
Labels
area/connectors
Connector related issues
connectors/source/facebook-marketing
connectors/sources-api
type/bug
Something isn't working
Environment
Current Behavior
I reproduced a user's bug (slack conversation): when I set a
custom_insights
in the connection with a breakdown value such asproduct_id
the connection test is sucessful but the schema discovery that follows crashes.This is due to the fact that the list in the
schemas
dictairbyte/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams.py
Line 421 in 9f685b9
does not list all valid values for this field. The list used by the connection check (all the properties of
ads_insights_breakdowns.json
looks more accurateExpected Behavior
breakdown
field can take.Logs
If applicable, please upload the logs from the failing operation.
For sync jobs, you can download the full logs from the UI by going to the sync attempt page and
clicking the download logs button at the top right of the logs display window.
LOG
Steps to Reproduce
product_id
in breakdownAre you willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: