Skip to content

Provided permission is not valid. #97

@topray

Description

@topray

Here is an example code provided by Facebook:
https://developers.facebook.com/docs/business-sdk/common-scenarios/onboard-at-scale/common-scenarios/

raw_child_business_token = business_1.access_token.create({
  app_id: <APP_ID_FOR_ONBOARDING>,
  scope: 'manage_pages,ads_management,business_management',
})

However, in reality, I received the following response.

FacebookAds::ClientError (Provided permission is not valid. Check you spelling and syntax.: Permission not valid (fbtrace_id: AITW7dqgPHCKKjvhH4hmpng))

I think you need to modify the code below. Please check.

api.has_param :scope, { list: 'Permission' }

Thank you for your supporting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions