Source Facebook Pages: HTTP error 400

  • Is this your first time deploying Airbyte?: Yes
  • OS Version / Instance: e2-medium VM with ubuntu-1804-bionic-v20220712
  • Deployment: Docker
  • Airbyte Version: 0.39.42-alpha
  • Source name/version: Facebook Pages 0.1.6
  • Step: The issue is happening during creating a new source.
  • Description: We have entered a Page ID and a Page Access Token created as described in the Airbyte Documentation. According to Meta’s Access Token Debugger the access token is valid and has the scope [read_insights, pages_show_list, pages_read_engagement, public_profile]. However upon setting up the source we get the error “The connection tests failed.” with HTTP Error 400 Client Error.

Hey @v_koppen, I think is related to this issue:

Would you be able to post any AIrbyte server logs?

Thank you for your prompt response!
Regarding the issue you linked, I tested the http request in the Graph API Explorer and get an error related to the nativeoffers part.
However, after removing it I still get an error about missing permissions:

  "error": {
    "message": "(#10) This endpoint requires the 'pages_manage_ads' permission or the 'Page Public Content Access' feature. Refer to and for details.",
    "type": "OAuthException",
    "code": 10,
    "fbtrace_id": "AELULZNg3luUmUH7Km3HWjT"

This was the original Airbyte log:

2022-08-19 09:09:59 INFO i.a.w.t.TemporalAttemptExecution(get):105 - Docker volume job log path: /tmp/workspace/d5f62786-3a2d-404a-8c1d-a978a9b8f003/0/logs.log

2022-08-19 09:09:59 INFO i.a.w.t.TemporalAttemptExecution(get):110 - Executing worker wrapper. Airbyte version: 0.39.42-alpha

2022-08-19 09:09:59 INFO i.a.c.i.LineGobbler(voidCall):82 - Checking if airbyte/source-facebook-pages:0.1.6 exists...

2022-08-19 09:09:59 INFO i.a.c.i.LineGobbler(voidCall):82 - airbyte/source-facebook-pages:0.1.6 was found locally.

2022-08-19 09:09:59 INFO i.a.w.p.DockerProcessFactory(create):108 - Creating docker job ID: d5f62786-3a2d-404a-8c1d-a978a9b8f003

2022-08-19 09:09:59 INFO i.a.w.p.DockerProcessFactory(create):163 - Preparing command: docker run --rm --init -i -w /data/d5f62786-3a2d-404a-8c1d-a978a9b8f003/0 --log-driver none --name source-facebook-pages-check-d5f62786-3a2d-404a-8c1d-a978a9b8f003-0-segey --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e USE_STREAM_CAPABLE_STATE=false -e AIRBYTE_ROLE= -e WORKER_ENVIRONMENT=DOCKER -e WORKER_CONNECTOR_IMAGE=airbyte/source-facebook-pages:0.1.6 -e WORKER_JOB_ATTEMPT=0 -e AIRBYTE_VERSION=0.39.42-alpha -e WORKER_JOB_ID=d5f62786-3a2d-404a-8c1d-a978a9b8f003 airbyte/source-facebook-pages:0.1.6 check --config source_config.json

2022-08-19 09:10:00 ERROR i.a.w.i.DefaultAirbyteStreamFactory(internalLog):95 - Check failed

2022-08-19 09:10:01 INFO i.a.w.t.TemporalAttemptExecution(get):131 - Stopping cancellation check scheduling...