cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
287
Views
0
Helpful
1
Replies

The requested scope is invalid in Android SDK

KaiserHuang
Level 1
Level 1

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:

  1. 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."

  2. 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

1 Reply 1

KaiserHuang
Level 1
Level 1

刚刚接触webex,我现在正在做的是,在我的安卓app中,以client的方式参会或者直接创建会议,利用webex sdk + api 实时获取会议的发言列表和举手列表,推送给第三方(所以这个app实际上功能就是一个转发),麻烦知道的大佬指点一二,谢谢