- {
- "response": "error",
- "cause": "INVALID_OAUTHSCOPE"
- }
My guess is that this has to do with scope, I have matched any scope I can think of and yet the error persists. Here is my current scope:
- ZohoMail.messages.READ,ZohoMail.messages.CREATE,ZohoMail.accounts.READ,ZohoMail.organization.accounts.READ
Here's the token response I get:
- {
- access_token: '1000.004adfcad67d878bf472cc746724ebee.randomSample',
- refresh_token: '1000.8e6318390c54fd4a7347d84c4b4e879c. randomSample',
- scope: 'VirtualOffice.messages.READ VirtualOffice.messages.CREATE VirtualOffice.accounts.READ',
- api_domain: 'https://www.zohoapis.com',
- token_type: 'Bearer',
- expires_in: 3600
- }
Any idea what I could be doing wrong?