Facebook Marketing connector started throwing the ...
# ask-ai
t
Facebook Marketing connector started throwing the following error:
Copy code
Tried accessing nonexisting field (cost_per_conversion_lead) on node type (AdsInsights)
👀 2
k
It seems like the error you're encountering,
Tried accessing nonexisting field (cost_per_conversion_lead) on node type (AdsInsights)
, is due to attempting to access a field that does not exist in the
AdsInsights
stream of the Facebook Marketing connector. Based on the knowledge sources provided, there are a few relevant points to consider: 1. Field Availability: Ensure that the field
cost_per_conversion_lead
is indeed available in the Facebook Marketing API for the
AdsInsights
stream. The error suggests that this field might not be part of the
AdsInsights
stream. 2. Field Additions and Updates: There have been requests and updates to add new fields to the
AdsInsights
stream in the past. For example, [Issue #9836](https://github.com/airbytehq/airbyte/issues/9836) mentions adding new fields to the
ads_insights
stream, but
cost_per_conversion_lead
is not listed among them. 3. Configuration and Version: Ensure that you are using the correct version of the Facebook Marketing connector. There have been multiple updates and fixes to the connector, as seen in various issues like [Issue #31860](https://github.com/airbytehq/airbyte/issues/31860) and [Issue #19119](https://github.com/airbytehq/airbyte/issues/19119). To resolve this issue, you can take the following steps: 1. Verify Field Existence: Check the Facebook Marketing API documentation to confirm whether the
cost_per_conversion_lead
field exists in the
AdsInsights
stream. 2. Update Connector: Ensure that you are using the latest version of the Facebook Marketing connector. If not, update to the latest version. 3. Modify Configuration: If the field does not exist, you will need to modify your configuration to exclude the
cost_per_conversion_lead
field or replace it with the correct field name. If you continue to face issues, you might want to open a new issue on the Airbyte GitHub repository or check existing issues for similar problems. For further assistance, you can refer to the [Airbyte documentation](https://docs.airbyte.com/) or the [Facebook Marketing API documentation](https://developers.facebook.com/docs/marketing-api/). If you need more specific guidance, please provide additional details about your connector version and configuration.
m
I am having the same error and cost_per_conversion_lead field is not even checked in my connection...
c
here the same issue
c
Same error here. cost_per_conversion_lead doesn't seem to exist as part of Facebook's documentation https://developers.facebook.com/docs/marketing-api/reference/adgroup/insights/v20.0
b
it seems liek only v19 is supported, but v20 and v21 are available now