Facebook Invalid Scopes

Infos:

  • Used Zammad version: 3.2
  • Used Zammad installation source: (source, package, …) Package
  • Operating system: Centos 7
  • Browser + version: Brave/Chrome/Edge

When trying to add an account, I am receiving the following error.

Invalid Scopes: publish_pages, manage_pages. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions

then Auth fails too

I, [2020-06-24T11:56:44.021923 #663-70097514105640]  INFO -- : Started GET "/api/v1/external_credentials/facebook/callback?error_code=100&error_message=Invalid+Scopes%3A+publish_pages%2C+manage_pages.+This+message+is+only+shown+to+developers.+Users+of+your+app+will+ignore+these+permissions+if+present.+Please+read+the+documentation+for+valid+permissions+at%3A+https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Ffacebook-login%2Fpermissions" for XXXXXXXXXXXX at 2020-06-24 11:56:44 +0200
I, [2020-06-24T11:56:44.026612 #663-70097514105640]  INFO -- : Processing by ExternalCredentialsController#callback as HTML
I, [2020-06-24T11:56:44.026684 #663-70097514105640]  INFO -- :   Parameters: {"error_code"=>"100", "error_message"=>"Invalid Scopes: publish_pages, manage_pages. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions", "provider"=>"facebook"}

E, [2020-06-24T11:56:44.246610 #663-70097514105640] ERROR -- : type: OAuthException, code: 100, message: Invalid verification code format. [HTTP 400]

Yep, Zammad currently doesn’t support facebooks API v7:

You have to roll back your app version to APIv6, developer accounts will fail constantly until this is addressed because you can’t rollback this version.


As you’re running Zammad 3.2 here’s a service hint:
You’re currently affected by 14 security issues which is why you should update your Zammad instance to 3.4 as soon as possible.

ta!

my mistake, im on This is Zammad version 3.3.x… will do now

As this is a new setup, there is no rollback to v6.

I’m afraid there’s currently no workaround for this issue expect code changes which I, as always, never suggest. :smiley:

Okie, we wait then?.. hoping it will be updated soon :slight_smile:

1 Like