I am using gmail-api I am getting insufficient permission for deleting mails.
I had the scope as { GmailScopes.GMAIL_LABELS,GmailScopes.GMAIL_INSERT,GmailScopes.GMAIL_MODIFY,GmailScopes.GMAIL_COMPOSE,GmailScopes.MAIL_GOOGLE_COM };
After seeing answer for same issue, i tried changing to
SCOPES = { GmailScopes.GMAIL_LABELS,GmailScopes.GMAIL_INSERT,GmailScopes.GMAIL_MODIFY,GmailScopes.GMAIL_COMPOSE,"https://mail.google.com/" };
but gets same issue
When i check for apps permissions at https://security.google.com/settings/security/permissions?pli=1
it says app doesnt have permission to delete mails. It has other permissions and other operations are working as expected. Please help