Skip to content

The requested scope is invalid in Android SDK #202

@hk-super-man

Description

@hk-super-man

Dear Team,

I hope this message finds you well.

I am currently developing an Android-based Webex demo that integrates Webex Meetings functionality using the Webex SDK (implementation("com.ciscowebex:webexsdk-meeting:3.15.0")). For reference, I’ve been following the documentation here: Webex Android SDK Basic Usage.

To set up the integration, I created a mobile app on the Webex developer portal (https://developer.webex.com/my-apps). During testing, I encountered the following issues:

When I set scope = "spark:all" and used OAuth, authentication succeeded. However, when attempting to join a meeting via the API, Logcat displayed the following error:
"The server understood the request, but refused to fulfill it because the access token is missing required scopes or the user is missing required roles or licenses."

To address this, I tried expanding the scope to include meeting-related permissions:
scope = "spark:all meeting:schedules_read meeting:participants_read meeting:participants_write meeting:schedules_write"
However, during authorization, Logcat returned:
"Server returned: 400 Unhandled http response: {"error":"invalid_scope","error_description":"The requested scope is invalid.","trackingID":"CLIENT_61d4aed7-22e4-4483-9fa3-672333874a25"}"

Additional context: I am using a free Webex account for testing.

Could you please advise on how to resolve these scope-related issues? Any guidance or suggestions would be greatly appreciated.

Thank you for your time and support!

Best regards,
Kaiser Huang

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions