-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Labels
area/connectorsConnector related issuesConnector related issuesautoteamcommunityneeds-triageteam/extensibilityteam/usetype/bugSomething isn't workingSomething isn't working
Description
Connector Name
source-facebook-marketing
Connector Version
v4.0.0
What step the error happened?
During the sync
Relevant information
I had a working connection that uses the Facebook Marketing source with a Postgres destination.
Starting September 5th, I started seeing that each sync failed for the ad_creatives schema.
The error returned from facebook is:
Ad Creative Is Incomplete
The reel you selected for your ad is not available. It could be deleted or you might not have permissions to see it. Please check your ad creative and try again.
Relevant log output
2025-09-08 23:55:11 source ERROR Giving up call(...) after 1 tries (facebook_business.exceptions.FacebookRequestError:
Message: Call was not successful
Method: GET
Path: https://graph.facebook.com/v23.0/act_268396563680735/adcreatives
Params: {'access_token': '****', 'limit': '100', 'fields': 'id,body,name,title,status,actor_id,adlabels,link_url,url_tags,video_id,image_url,object_id,account_id,image_hash,link_og_id,object_url,image_crops,object_type,template_url,thumbnail_url,product_set_id,asset_feed_spec,object_story_id,applink_treatment,instagram_user_id,object_story_spec,template_url_spec,call_to_action_type,instagram_permalink_url,effective_object_story_id,source_instagram_media_id,effective_instagram_media_id', 'summary': 'true', 'after': 'MTIwMjEyMDI3ODAwMTcwMzQ5'}
Status: 400
Response:
{
"error": {
"message": "Invalid parameter",
"type": "OAuthException",
"code": 100,
"error_subcode": 2446289,
"is_transient": false,
"error_user_title": "Ad Creative Is Incomplete",
"error_user_msg": "The reel you selected for your ad is not available. It could be deleted or you might not have permissions to see it. Please check your ad creative and try again.",
"fbtrace_id": "ADoKNFtcEVNYzmo_bx0iSHg"
}
})
2025-09-08 23:55:11 source ERROR Encountered an exception while reading stream ad_creatives
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^
File "/airbyte/integration_code/source_facebook_marketing/api.py", line 171, in call
response = super().call(method, path, params, headers, files, url_override, api_version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/facebook_business/api.py", line 336, in call
raise fb_response.error()
facebook_business.exceptions.FacebookRequestError:
Message: Call was not successful
Method: GET
Path: https://graph.facebook.com/v23.0/act_268396563680735/adcreatives
Params: {'access_token': '****', 'limit': '100', 'fields': 'id,body,name,title,status,actor_id,adlabels,link_url,url_tags,video_id,image_url,object_id,account_id,image_hash,link_og_id,object_url,image_crops,object_type,template_url,thumbnail_url,product_set_id,asset_feed_spec,object_story_id,applink_treatment,instagram_user_id,object_story_spec,template_url_spec,call_to_action_type,instagram_permalink_url,effective_object_story_id,source_instagram_media_id,effective_instagram_media_id', 'summary': 'true', 'after': 'MTIwMjEyMDI3ODAwMTcwMzQ5'}
Status: 400
Response:
{
"error": {
"message": "Invalid parameter",
"type": "OAuthException",
"code": 100,
"error_subcode": 2446289,
"is_transient": false,
"error_user_title": "Ad Creative Is Incomplete",
"error_user_msg": "The reel you selected for your ad is not available. It could be deleted or you might not have permissions to see it. Please check your ad creative and try again.",
"fbtrace_id": "ADoKNFtcEVNYzmo_bx0iSHg"
}
}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/abstract_source.py", line 133, in read
yield from self._read_stream(
File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/abstract_source.py", line 239, in _read_stream
for record_data_or_message in record_iterator:
File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/streams/core.py", line 192, in read
for record_data_or_message in records:
File "/airbyte/integration_code/source_facebook_marketing/streams/streams.py", line 68, in read_records
for record in super().read_records(sync_mode, cursor_field, stream_slice, stream_state):
File "/airbyte/integration_code/source_facebook_marketing/streams/base_streams.py", line 192, in read_records
for record in self.list_objects(
File "/usr/local/lib/python3.11/site-packages/facebook_business/api.py", line 776, in __next__
if not self._queue and not self.load_next_page():
^^^^^^^^^^^^^^^^^^^^^
File "/airbyte/integration_code/source_facebook_marketing/streams/patches.py", line 40, in load_next_page
response_obj = self._api.call(
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/backoff/_sync.py", line 112, in retry
_call_handlers(on_giveup, **details, exception=e)
File "/usr/local/lib/python3.11/site-packages/backoff/_sync.py", line 20, in _call_handlers
hdlr(details)
File "/airbyte/integration_code/source_facebook_marketing/streams/common.py", line 92, in give_up
raise traced_exception(details["exception"])
airbyte_cdk.utils.traced_exception.AirbyteTracedException: Invalid parameter
2025-09-08 23:55:11 source INFO Marking stream ad_creatives as STOPPED
Contribute
- Yes, I want to contribute
Metadata
Metadata
Assignees
Labels
area/connectorsConnector related issuesConnector related issuesautoteamcommunityneeds-triageteam/extensibilityteam/usetype/bugSomething isn't workingSomething isn't working