Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source facebook-marketing: add friendly messages and tests #42562

Conversation

aldogonzalez8
Copy link
Contributor

@aldogonzalez8 aldogonzalez8 commented Jul 26, 2024

What

  • "Error code 1: Please reduce the amount of data you're asking for, then retry your request." -> raises a config error with a humanized error message telling the user they should use smaller batches or unselect problematic fields
  • Service temporarily unavailable -> raises a transient error with a humanized error message
  • "3018 The start date of the time range cannot be beyond 37 months from the current date" -> raises a config error with a humanized error message

Issues ref:

How

Add friendly messages to traced_exception handler.

Review guide

  1. airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/common.py: add new friendly messages for "reducing fields" and "start date" errors.
  2. airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_errors.py: new tests to cover these scenarios.

User Impact

Users will read friendly errors when sync fails.

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Jul 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Jul 26, 2024 11:22am

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Jul 26, 2024
@aldogonzalez8 aldogonzalez8 requested a review from a team July 26, 2024 11:09
@aldogonzalez8
Copy link
Contributor Author

Regression run and resuls

image

@aldogonzalez8
Copy link
Contributor Author

aldogonzalez8 commented Jul 26, 2024

/approve-regression-tests

Check job output.

✅ Approving regression tests

@aldogonzalez8
Copy link
Contributor Author

A run an report with all the available streams

image

image

image

image

@aldogonzalez8 aldogonzalez8 merged commit 44e854e into master Jul 26, 2024
37 checks passed
@aldogonzalez8 aldogonzalez8 deleted the aldogonzalez8/source/facebook-marketing/8651-humanize-facebook-errors branch July 26, 2024 14:15
@nataliekwong
Copy link
Contributor

Hi @aldogonzalez8 , I'm seeing the message "Error code 1: Please reduce the amount of data you're asking for, then retry your request." -> raises a config error with a humanized error message telling the user they should use smaller batches or unselect problematic fields come up in an active sales engagement workspace:

Does this message mean there are too many fields being requested across the connection, or within a given stream? These are the parameters being requested for the stream that is surfacing the error, and it's surprising this is the error given the small number of streams.

Params: {'level': 'campaign', 'action_breakdowns': '["action_type","action_target_id","action_destination"]', 'action_report_time': 'mixed', 'breakdowns': '["dma"]', 'fields': '["campaign_id"]', 'action_attribution_windows': '["1d_click","7d_click","28d_click","1d_view","7d_view","28d_view"]', 'filtering': '[{"field":"ad.effective_status","operator":"IN","value":"**********"}]', 'time_range': '{"since":"2022-09-01","until":"2022-09-30"}'}

If the user wants to sync all the fields, do you think the following options are equally viable to resolving the issue?

  1. splitting up the connection by stream so less fields in total are being requested
  2. for the stream that is erroring, syncing a subset of the columns in one connection, and creating a second connection with the other fields

Or is one option a better alternative to the other?

@aldogonzalez8
Copy link
Contributor Author

aldogonzalez8 commented Aug 8, 2024

Hi @aldogonzalez8 , I'm seeing the message "Error code 1: Please reduce the amount of data you're asking for, then retry your request." -> raises a config error with a humanized error message telling the user they should use smaller batches or unselect problematic fields come up in an active sales engagement workspace:

Does this message mean there are too many fields being requested across the connection, or within a given stream? These are the parameters being requested for the stream that is surfacing the error, and it's surprising this is the error given the small number of streams.

Params: {'level': 'campaign', 'action_breakdowns': '["action_type","action_target_id","action_destination"]', 'action_report_time': 'mixed', 'breakdowns': '["dma"]', 'fields': '["campaign_id"]', 'action_attribution_windows': '["1d_click","7d_click","28d_click","1d_view","7d_view","28d_view"]', 'filtering': '[{"field":"ad.effective_status","operator":"IN","value":"**********"}]', 'time_range': '{"since":"2022-09-01","until":"2022-09-30"}'}

If the user wants to sync all the fields, do you think the following options are equally viable to resolving the issue?

  1. splitting up the connection by stream so less fields in total are being requested
  2. for the stream that is erroring, syncing a subset of the columns in one connection, and creating a second connection with the other fields

Or is one option a better alternative to the other?

@nataliekwong Each of these streams is failing, so I think it is possible that even if you split the connection, you will see the problem again. Still, actually, I would try that first as we are not sure what is exactly the problem or how FB API will determine to throw that error (they never told us) but also that was always something possible and still we needed to have this other change. If you still have the error, then I would try to start unselecting fields; I am not sure if this problem is caused by the account asking for too much data or individual call level, but at least now we can try both approaches. Also, can you let us know how it goes? It seems something we can document.

[{
  "failureOrigin" : "source",
  "failureType" : "config_error",
  "internalMessage" : "Please reduce the amount of data you're asking for, then retry your request",
  "externalMessage" : "Please reduce the number of fields requested. Go to the schema tab, select your source, and unselect the fields you do not need.",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 15745281,
    "from_trace_message" : true,
    "connector_command" : "read"
  },
  "stacktrace" : "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.10/site-packages/backoff/_sync.py\", line 105, in retry\n    ret = target(*args, **kwargs)\n  File \"/airbyte/integration_code/source_facebook_marketing/api.py\", line 169, in call\n    response = super().call(method, path, params, headers, files, url_override, api_version)\n  File \"/usr/local/lib/python3.10/site-packages/facebook_business/api.py\", line 336, in call\n    raise fb_response.error()\nfacebook_business.exceptions.FacebookRequestError: \n\n  Message: Call was not successful\n  Method:  GET\n  Path:    https://graph.facebook.com/v19.0/act_1452452104821631/insights\n  Params:  {'level': 'campaign', 'action_breakdowns': '[\"action_type\",\"action_target_id\",\"action_destination\"]', 'action_report_time': 'mixed', 'breakdowns': '[]', 'fields': '[\"campaign_id\"]', 'action_attribution_windows': '[\"1d_click\",\"7d_click\",\"28d_click\",\"1d_view\",\"7d_view\",\"28d_view\"]', 'filtering': '[{\"field\":\"ad.effective_status\",\"operator\":\"IN\",\"value\":[\"ACTIVE\",\"ADSET_PAUSED\",\"ARCHIVED\",\"CAMPAIGN_PAUSED\",\"DELETED\",\"DISAPPROVED\",\"IN_PROCESS\",\"PAUSED\",\"PENDING_BILLING_INFO\",\"PENDING_REVIEW\",\"PREAPPROVED\",\"WITH_ISSUES\"]}]', 'time_range': '{\"since\":\"2023-02-16\",\"until\":\"2023-03-17\"}'}\n\n  Status:  500\n  Response:\n    {\n      \"error\": {\n        \"code\": 1,\n        \"message\": \"Please reduce the amount of data you're asking for, then retry your request\"\n      }\n    }\n\n",
  "timestamp" : 1722812145386,
  "streamDescriptor" : {
    "name" : "ads_insights"
  }
}, {
  "failureOrigin" : "source",
  "failureType" : "config_error",
  "internalMessage" : "Please reduce the amount of data you're asking for, then retry your request",
  "externalMessage" : "Please reduce the number of fields requested. Go to the schema tab, select your source, and unselect the fields you do not need.",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 15745281,
    "from_trace_message" : true,
    "connector_command" : "read"
  },
  "stacktrace" : "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.10/site-packages/backoff/_sync.py\", line 105, in retry\n    ret = target(*args, **kwargs)\n  File \"/airbyte/integration_code/source_facebook_marketing/api.py\", line 169, in call\n    response = super().call(method, path, params, headers, files, url_override, api_version)\n  File \"/usr/local/lib/python3.10/site-packages/facebook_business/api.py\", line 336, in call\n    raise fb_response.error()\nfacebook_business.exceptions.FacebookRequestError: \n\n  Message: Call was not successful\n  Method:  GET\n  Path:    https://graph.facebook.com/v19.0/act_1452452104821631/insights\n  Params:  {'level': 'campaign', 'action_breakdowns': '[\"action_type\",\"action_target_id\",\"action_destination\"]', 'action_report_time': 'mixed', 'breakdowns': '[\"age\",\"gender\"]', 'fields': '[\"campaign_id\"]', 'action_attribution_windows': '[\"1d_click\",\"7d_click\",\"28d_click\",\"1d_view\",\"7d_view\",\"28d_view\"]', 'filtering': '[{\"field\":\"ad.effective_status\",\"operator\":\"IN\",\"value\":[\"ACTIVE\",\"ADSET_PAUSED\",\"ARCHIVED\",\"CAMPAIGN_PAUSED\",\"DELETED\",\"DISAPPROVED\",\"IN_PROCESS\",\"PAUSED\",\"PENDING_BILLING_INFO\",\"PENDING_REVIEW\",\"PREAPPROVED\",\"WITH_ISSUES\"]}]', 'time_range': '{\"since\":\"2022-07-27\",\"until\":\"2022-08-25\"}'}\n\n  Status:  500\n  Response:\n    {\n      \"error\": {\n        \"code\": 1,\n        \"message\": \"Please reduce the amount of data you're asking for, then retry your request\"\n      }\n    }\n\n",
  "timestamp" : 1722830222742,
  "streamDescriptor" : {
    "name" : "ads_insights_age_and_gender"
  }
}, {
  "failureOrigin" : "source",
  "failureType" : "config_error",
  "internalMessage" : "Please reduce the amount of data you're asking for, then retry your request",
  "externalMessage" : "Please reduce the number of fields requested. Go to the schema tab, select your source, and unselect the fields you do not need.",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 15745281,
    "from_trace_message" : true,
    "connector_command" : "read"
  },
  "stacktrace" : "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.10/site-packages/backoff/_sync.py\", line 105, in retry\n    ret = target(*args, **kwargs)\n  File \"/airbyte/integration_code/source_facebook_marketing/api.py\", line 169, in call\n    response = super().call(method, path, params, headers, files, url_override, api_version)\n  File \"/usr/local/lib/python3.10/site-packages/facebook_business/api.py\", line 336, in call\n    raise fb_response.error()\nfacebook_business.exceptions.FacebookRequestError: \n\n  Message: Call was not successful\n  Method:  GET\n  Path:    https://graph.facebook.com/v19.0/act_1452452104821631/insights\n  Params:  {'level': 'campaign', 'action_breakdowns': '[\"action_type\"]', 'action_report_time': 'mixed', 'breakdowns': '[\"publisher_platform\",\"platform_position\",\"impression_device\"]', 'fields': '[\"campaign_id\"]', 'action_attribution_windows': '[\"1d_click\",\"7d_click\",\"28d_click\",\"1d_view\",\"7d_view\",\"28d_view\"]', 'filtering': '[{\"field\":\"ad.effective_status\",\"operator\":\"IN\",\"value\":[\"ACTIVE\",\"ADSET_PAUSED\",\"ARCHIVED\",\"CAMPAIGN_PAUSED\",\"DELETED\",\"DISAPPROVED\",\"IN_PROCESS\",\"PAUSED\",\"PENDING_BILLING_INFO\",\"PENDING_REVIEW\",\"PREAPPROVED\",\"WITH_ISSUES\"]}]', 'time_range': '{\"since\":\"2022-08-01\",\"until\":\"2022-08-30\"}'}\n\n  Status:  500\n  Response:\n    {\n      \"error\": {\n        \"code\": 1,\n        \"message\": \"Please reduce the amount of data you're asking for, then retry your request\"\n      }\n    }\n\n",
  "timestamp" : 1722841570899,
  "streamDescriptor" : {
    "name" : "ads_insights_platform_and_device"
  }
}, {
  "failureOrigin" : "source",
  "failureType" : "config_error",
  "internalMessage" : "Please reduce the amount of data you're asking for, then retry your request",
  "externalMessage" : "Please reduce the number of fields requested. Go to the schema tab, select your source, and unselect the fields you do not need.",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 15745281,
    "from_trace_message" : true,
    "connector_command" : "read"
  },
  "stacktrace" : "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.10/site-packages/backoff/_sync.py\", line 105, in retry\n    ret = target(*args, **kwargs)\n  File \"/airbyte/integration_code/source_facebook_marketing/api.py\", line 169, in call\n    response = super().call(method, path, params, headers, files, url_override, api_version)\n  File \"/usr/local/lib/python3.10/site-packages/facebook_business/api.py\", line 336, in call\n    raise fb_response.error()\nfacebook_business.exceptions.FacebookRequestError: \n\n  Message: Call was not successful\n  Method:  GET\n  Path:    https://graph.facebook.com/v19.0/act_1452452104821631/\n  Params:  {'fields': 'id,age,name,owner,tax_id,balance,partner,rf_spec,business,currency,fb_entity,io_number,spend_cap,account_id,user_tasks,is_personal,tax_id_type,timezone_id,amount_spent,business_zip,capabilities,created_time,line_numbers,media_agency,tos_accepted,business_city,business_name,tax_id_status,timezone_name,account_status,business_state,disable_reason,end_advertiser,funding_source,business_street,business_street2,min_daily_budget,user_tos_accepted,is_tax_id_required,end_advertiser_name,business_country_code,failed_delivery_checks,is_direct_deals_enabled,has_migrated_permissions,is_notifications_enabled,timezone_offset_hours_utc,can_create_brand_lift_study,offsite_pixels_tos_accepted,min_campaign_group_spend_cap,extended_credit_invoice_group,is_attribution_spec_system_default,is_in_3ds_authorization_enabled_market'}\n\n  Status:  500\n  Response:\n    {\n      \"error\": {\n        \"code\": 1,\n        \"message\": \"Please reduce the amount of data you're asking for, then retry your request\"\n      }\n    }\n\n",
  "timestamp" : 1722841729743,
  "streamDescriptor" : {
    "name" : "ad_account"
  }
}, {
  "failureOrigin" : "source",
  "failureType" : "config_error",
  "internalMessage" : "Please reduce the amount of data you're asking for, then retry your request",
  "externalMessage" : "Please reduce the number of fields requested. Go to the schema tab, select your source, and unselect the fields you do not need.",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 15745281,
    "from_trace_message" : true,
    "connector_command" : "read"
  },
  "stacktrace" : "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.10/site-packages/backoff/_sync.py\", line 105, in retry\n    ret = target(*args, **kwargs)\n  File \"/airbyte/integration_code/source_facebook_marketing/api.py\", line 169, in call\n    response = super().call(method, path, params, headers, files, url_override, api_version)\n  File \"/usr/local/lib/python3.10/site-packages/facebook_business/api.py\", line 336, in call\n    raise fb_response.error()\nfacebook_business.exceptions.FacebookRequestError: \n\n  Message: Call was not successful\n  Method:  GET\n  Path:    https://graph.facebook.com/v19.0/act_1452452104821631/insights\n  Params:  {'level': 'campaign', 'action_breakdowns': '[\"action_type\"]', 'action_report_time': 'mixed', 'breakdowns': '[]', 'fields': '[\"campaign_id\"]', 'action_attribution_windows': '[\"1d_click\",\"7d_click\",\"28d_click\",\"1d_view\",\"7d_view\",\"28d_view\"]', 'filtering': '[{\"field\":\"ad.effective_status\",\"operator\":\"IN\",\"value\":[\"ACTIVE\",\"ADSET_PAUSED\",\"ARCHIVED\",\"CAMPAIGN_PAUSED\",\"DELETED\",\"DISAPPROVED\",\"IN_PROCESS\",\"PAUSED\",\"PENDING_BILLING_INFO\",\"PENDING_REVIEW\",\"PREAPPROVED\",\"WITH_ISSUES\"]}]', 'time_range': '{\"since\":\"2023-05-14\",\"until\":\"2023-06-12\"}'}\n\n  Status:  500\n  Response:\n    {\n      \"error\": {\n        \"code\": 1,\n        \"message\": \"Please reduce the amount of data you're asking for, then retry your request\"\n      }\n    }\n\n",
  "timestamp" : 1722854059554,
  "streamDescriptor" : {
    "name" : "ads_insights_action_type"
  }
}, {
  "failureOrigin" : "source",
  "failureType" : "config_error",
  "internalMessage" : "Please reduce the amount of data you're asking for, then retry your request",
  "externalMessage" : "Please reduce the number of fields requested. Go to the schema tab, select your source, and unselect the fields you do not need.",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 15745281,
    "from_trace_message" : true,
    "connector_command" : "read"
  },
  "stacktrace" : "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.10/site-packages/backoff/_sync.py\", line 105, in retry\n    ret = target(*args, **kwargs)\n  File \"/airbyte/integration_code/source_facebook_marketing/api.py\", line 169, in call\n    response = super().call(method, path, params, headers, files, url_override, api_version)\n  File \"/usr/local/lib/python3.10/site-packages/facebook_business/api.py\", line 336, in call\n    raise fb_response.error()\nfacebook_business.exceptions.FacebookRequestError: \n\n  Message: Call was not successful\n  Method:  GET\n  Path:    https://graph.facebook.com/v19.0/act_1452452104821631/insights\n  Params:  {'level': 'campaign', 'action_breakdowns': '[\"action_type\",\"action_target_id\",\"action_destination\"]', 'action_report_time': 'mixed', 'breakdowns': '[\"country\"]', 'fields': '[\"campaign_id\"]', 'action_attribution_windows': '[\"1d_click\",\"7d_click\",\"28d_click\",\"1d_view\",\"7d_view\",\"28d_view\"]', 'filtering': '[{\"field\":\"ad.effective_status\",\"operator\":\"IN\",\"value\":[\"ACTIVE\",\"ADSET_PAUSED\",\"ARCHIVED\",\"CAMPAIGN_PAUSED\",\"DELETED\",\"DISAPPROVED\",\"IN_PROCESS\",\"PAUSED\",\"PENDING_BILLING_INFO\",\"PENDING_REVIEW\",\"PREAPPROVED\",\"WITH_ISSUES\"]}]', 'time_range': '{\"since\":\"2022-10-02\",\"until\":\"2022-10-31\"}'}\n\n  Status:  500\n  Response:\n    {\n      \"error\": {\n        \"code\": 1,\n        \"message\": \"Please reduce the amount of data you're asking for, then retry your request\"\n      }\n    }\n\n",
  "timestamp" : 1722864450408,
  "streamDescriptor" : {
    "name" : "ads_insights_country"
  }
}, {
  "failureOrigin" : "source",
  "failureType" : "config_error",
  "internalMessage" : "Please reduce the amount of data you're asking for, then retry your request",
  "externalMessage" : "Please reduce the number of fields requested. Go to the schema tab, select your source, and unselect the fields you do not need.",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 15745281,
    "from_trace_message" : true,
    "connector_command" : "read"
  },
  "stacktrace" : "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.10/site-packages/backoff/_sync.py\", line 105, in retry\n    ret = target(*args, **kwargs)\n  File \"/airbyte/integration_code/source_facebook_marketing/api.py\", line 169, in call\n    response = super().call(method, path, params, headers, files, url_override, api_version)\n  File \"/usr/local/lib/python3.10/site-packages/facebook_business/api.py\", line 336, in call\n    raise fb_response.error()\nfacebook_business.exceptions.FacebookRequestError: \n\n  Message: Call was not successful\n  Method:  GET\n  Path:    https://graph.facebook.com/v19.0/act_1452452104821631/insights\n  Params:  {'level': 'campaign', 'action_breakdowns': '[\"action_type\",\"action_target_id\",\"action_destination\"]', 'action_report_time': 'mixed', 'breakdowns': '[\"region\"]', 'fields': '[\"campaign_id\"]', 'action_attribution_windows': '[\"1d_click\",\"7d_click\",\"28d_click\",\"1d_view\",\"7d_view\",\"28d_view\"]', 'filtering': '[{\"field\":\"ad.effective_status\",\"operator\":\"IN\",\"value\":[\"ACTIVE\",\"ADSET_PAUSED\",\"ARCHIVED\",\"CAMPAIGN_PAUSED\",\"DELETED\",\"DISAPPROVED\",\"IN_PROCESS\",\"PAUSED\",\"PENDING_BILLING_INFO\",\"PENDING_REVIEW\",\"PREAPPROVED\",\"WITH_ISSUES\"]}]', 'time_range': '{\"since\":\"2023-05-24\",\"until\":\"2023-06-22\"}'}\n\n  Status:  500\n  Response:\n    {\n      \"error\": {\n        \"code\": 1,\n        \"message\": \"Please reduce the amount of data you're asking for, then retry your request\"\n      }\n    }\n\n",
  "timestamp" : 1723110040298,
  "streamDescriptor" : {
    "name" : "ads_insights_region"
  }
}, {
  "failureOrigin" : "source",
  "failureType" : "config_error",
  "internalMessage" : "Please reduce the amount of data you're asking for, then retry your request",
  "externalMessage" : "Please reduce the number of fields requested. Go to the schema tab, select your source, and unselect the fields you do not need.",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 15745281,
    "from_trace_message" : true,
    "connector_command" : "read"
  },
  "stacktrace" : "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.10/site-packages/backoff/_sync.py\", line 105, in retry\n    ret = target(*args, **kwargs)\n  File \"/airbyte/integration_code/source_facebook_marketing/api.py\", line 169, in call\n    response = super().call(method, path, params, headers, files, url_override, api_version)\n  File \"/usr/local/lib/python3.10/site-packages/facebook_business/api.py\", line 336, in call\n    raise fb_response.error()\nfacebook_business.exceptions.FacebookRequestError: \n\n  Message: Call was not successful\n  Method:  GET\n  Path:    https://graph.facebook.com/v19.0/act_1452452104821631/insights\n  Params:  {'level': 'campaign', 'action_breakdowns': '[\"action_type\",\"action_target_id\",\"action_destination\"]', 'action_report_time': 'mixed', 'breakdowns': '[\"dma\"]', 'fields': '[\"campaign_id\"]', 'action_attribution_windows': '[\"1d_click\",\"7d_click\",\"28d_click\",\"1d_view\",\"7d_view\",\"28d_view\"]', 'filtering': '[{\"field\":\"ad.effective_status\",\"operator\":\"IN\",\"value\":[\"ACTIVE\",\"ADSET_PAUSED\",\"ARCHIVED\",\"CAMPAIGN_PAUSED\",\"DELETED\",\"DISAPPROVED\",\"IN_PROCESS\",\"PAUSED\",\"PENDING_BILLING_INFO\",\"PENDING_REVIEW\",\"PREAPPROVED\",\"WITH_ISSUES\"]}]', 'time_range': '{\"since\":\"2022-09-01\",\"until\":\"2022-09-30\"}'}\n\n  Status:  500\n  Response:\n    {\n      \"error\": {\n        \"code\": 1,\n        \"message\": \"Please reduce the amount of data you're asking for, then retry your request\"\n      }\n    }\n\n",
  "timestamp" : 1723119108845,
  "streamDescriptor" : {
    "name" : "ads_insights_dma"
  }
}, {
  "failureOrigin" : "source",
  "failureType" : "config_error",
  "externalMessage" : "During the sync, the following streams did not sync successfully: ads_insights: AirbyteTracedException(\"Please reduce the amount of data you're asking for, then retry your request\")\nads_insights_age_and_gender: AirbyteTracedException(\"Please reduce the amount of data you're asking for, then retry your request\")\nads_insights_platform_and_device: AirbyteTracedException(\"Please reduce the amount of data you're asking for, then retry your request\")\nad_account: AirbyteTracedException(\"Please reduce the amount of data you're asking for, then retry your request\")\nads_insights_action_type: AirbyteTracedException(\"Please reduce the amount of data you're asking for, then retry your request\")\nads_insights_country: AirbyteTracedException(\"Please reduce the amount of data you're asking for, then retry your request\")\nads_insights_region: AirbyteTracedException(\"Please reduce the amount of data you're asking for, then retry your request\")\nads_insights_dma: AirbyteTracedException(\"Please reduce the amount of data you're asking for, then retry your request\")",
  "metadata" : {
    "attemptNumber" : 0,
    "jobId" : 15745281,
    "from_trace_message" : true,
    "connector_command" : "read"
  },
  "stacktrace" : "Traceback (most recent call last):\n  File \"/airbyte/integration_code/main.py\", line 9, in <module>\n    run()\n  File \"/airbyte/integration_code/source_facebook_marketing/run.py\", line 19, in run\n    launch(source, sys.argv[1:])\n  File \"/usr/local/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 235, in launch\n    for message in source_entrypoint.run(parsed_args):\n  File \"/usr/local/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 122, in run\n    yield from map(AirbyteEntrypoint.airbyte_message_to_string, self.read(source_spec, config, config_catalog, state))\n  File \"/usr/local/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 166, in read\n    for message in self.source.read(self.logger, config, catalog, state):\n  File \"/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 191, in read\n    raise AirbyteTracedException(message=error_message, failure_type=FailureType.config_error)\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: None\n",
  "timestamp" : 1723119108847
}
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/facebook-marketing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants