zoho / Desk-androidSampleApp

1 stars 0 forks source link

Scope mismatch in Android SDK #3

Open harshalkd opened 4 years ago

harshalkd commented 4 years ago

Hi team, I refer code and integrate it my demo projet but I got Scope mismatch error whne running in android

{ "errorCode": "SCOPE_MISMATCH", "message": "The OAuth Token does not contain the scope to perform this operation." }

My scope list as below

public final static String SCOPES = "Desk.tickets.ALL," + // No I18N
        "Desk.tickets.READ," + // No I18N
        "Desk.tickets.WRITE," + // No I18N
        "Desk.tickets.UPDATE," + // No I18N
        "Desk.tickets.CREATE," + // No I18N
        "Desk.tickets.DELETE," + // No I18N
        "Desk.contacts.READ," + // No I18N
        "Desk.contacts.WRITE," + // No I18N
        "Desk.contacts.UPDATE," + // No I18N
        "Desk.contacts.CREATE," + // No I18N
        "Desk.tasks.ALL," + // No I18N
        "Desk.tasks.WRITE," + // No I18N
        "Desk.tasks.READ," + // No I18N
        "Desk.tasks.CREATE," + // No I18N
        "Desk.tasks.UPDATE," + // No I18N
        "Desk.tasks.DELETE," + // No I18N
        "Desk.basic.READ," + // No I18N
        "Desk.basic.CREATE," + // No I18N
        "Desk.settings.ALL," + // No I18N
        "Desk.settings.WRITE," + // No I18N
        "Desk.settings.READ," + // No I18N
        "Desk.settings.CREATE," + // No I18N
        "Desk.settings.UPDATE," + // No I18N
        "Desk.settings.DELETE," + // No I18N
        "Desk.search.READ," + // No I18N
        "Zohosearch.securesearch.READ," + // No I18N
        "aaaserver.profile.READ," + // No I18N
        "zohocontacts.userphoto.READ," + // No I18N
        "ZohoSupport.feeds.ALL," + // No I18N
        "ZohoSupport.basic.ALL," + // No I18N
        "VirtualOffice.messages.CREATE," + // No I18N
        "profile.userphoto.UPDATE," + // No I18N
        "profile.userinfo.READ," + // No I18N
        "Desk.articles.READ," + // No I18N
        "ZohoDiscussions.basic.ALL," + // No I18N
        "profile.orguserphoto.READ,"+
        "Desk.contacts.ALL";// No I18N

} Any idea about this ?