[2026-07-08T16:59:01.579373] Job 235963 queued by schedule:2026-07-08T16:59:00 Connection: PirelliMoto (facebook) Sync template: Facebook Graph - Incremental Sync Queue class: foreground Procrastinate queue: kpiper Command: python facebook_graph_pipeline.py [2026-07-08T16:59:01.719637] Queued via Procrastinate as job 234813 (queue=kpiper, priority=50). [2026-07-08T16:59:02.610501] Starting job 235963 for connection PirelliMoto (facebook) / sync template Facebook Graph - Incremental Sync (type=dlt) Resolved command: cd /srv/kpiper && python facebook_graph_pipeline.py Injected profile context env vars (tokens exported: 1). Pipeline env overrides applied: ENABLE_PAGE_INSIGHTS, ENABLE_PAGE_OBJECTS, ENABLE_PAGE_POSTS, ENABLE_PAGE_POST_ATTACHMENTS, ENABLE_PAGE_POST_INSIGHTS, PAGE_ID, PAGE_INSIGHTS_LOOKBACK_DAYS, POSTS_BATCH_SIZE, POSTS_LIMIT, POSTS_PAGINATION, POST_INCREMENTAL_LOOKBACK_DAYS, POST_INSIGHTS_LOOKBACK_DAYS, SOURCES__FACEBOOK_GRAPH_REST_API_SOURCE__ACCESS_TOKEN, SYNC_MODE Refreshed Meta Page Token at 2026-07-08T16:59:02.581272. Forced unbuffered Python output for child process. /usr/local/lib/python3.11/site-packages/dlt/pipeline/progress.py:27: UserWarning: psutil dependency is not installed and memory stats will not be available. Add psutil to your environment or pass dump_system_stats=False to disable this warning. return log() Retrying 208485089187632/feed with a smaller posts limit (10) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (5) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (1) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed by splitting the window 2026-06-03T00:00:00+0000..2026-07-08T23:59:59+0000 after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (10) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (5) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (1) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed by splitting the window 2026-06-03T00:00:00+0000..2026-06-20T23:59:59+0000 after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (10) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (5) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (1) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed by splitting the window 2026-06-12T00:00:00+0000..2026-06-20T23:59:59+0000 after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (10) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (5) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (1) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed by splitting the window 2026-06-12T00:00:00+0000..2026-06-16T23:59:59+0000 after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (10) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (5) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Retrying 208485089187632/feed with a smaller posts limit (1) after Graph reduce-data error: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} Traceback (most recent call last): File "/srv/kpiper/facebook_graph_pipeline.py", line 393, in _request_json with urlopen(request, timeout=timeout_seconds) as response: # noqa: S310 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/urllib/request.py", line 525, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/urllib/request.py", line 634, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/urllib/request.py", line 563, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/urllib/request.py", line 496, in _call_chain result = func(*args) ^^^^^^^^^^^ File "/usr/local/lib/python3.11/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 500: Internal Server Error The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/srv/kpiper/facebook_graph_pipeline.py", line 1635, in load_info = pipeline.run(facebook_graph_rest_api_source()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/dlt/extract/decorators.py", line 201, in __call__ source = self._deco_f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/dlt/extract/decorators.py", line 299, in _wrap rv = conf_f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/dlt/common/configuration/inject.py", line 281, in _wrap return f(*bound_args.args, **bound_args.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 1366, in facebook_graph_rest_api_source recent_posts_for_insights = _collect_page_posts( ^^^^^^^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 1163, in _collect_page_posts first_posts = _collect_page_posts( ^^^^^^^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 1176, in _collect_page_posts second_posts = _collect_page_posts( ^^^^^^^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 1163, in _collect_page_posts first_posts = _collect_page_posts( ^^^^^^^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 1163, in _collect_page_posts first_posts = _collect_page_posts( ^^^^^^^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 1153, in _collect_page_posts raise last_error File "/srv/kpiper/facebook_graph_pipeline.py", line 1127, in _collect_page_posts for item in items: File "/srv/kpiper/facebook_graph_pipeline.py", line 487, in _iter_edge_with_field_fallback yield from _iter_edge(client, path, request_params, paginate=paginate, max_items=max_items) File "/srv/kpiper/facebook_graph_pipeline.py", line 454, in _iter_edge response = _graph_get_url(client, next_url) if next_url else _graph_get_json(client, path, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 435, in _graph_get_url return _request_json( ^^^^^^^^^^^^^^ File "/srv/kpiper/facebook_graph_pipeline.py", line 407, in _request_json raise RuntimeError(detail) from exc RuntimeError: {"error":{"code":1,"message":"Please reduce the amount of data you're asking for, then retry your request"}} [2026-07-08T17:17:17.184545] Command failed with code 1.