Click here to Skip to main content
15,741,077 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)

I am working with VB.Net, I followed the instructions to get a list of messages (gmail api v1) and tasks (tasks api v1) from Google:

But I get the error 403 (Insufficient permission) but my datagridview is filled with the following headers with empty cells:


HistoryId - Id - LabelIds - Payloads - Raw - SizeEstimate - Snippet - ThreadId - Etag


Etag - Items - Kind - NextPageToken

I checked my google developer console and all is well, the apis are activated.

I also use my (just in case).

Also follow the instructions of Drive and Calendar apis and these work fine but of Tasks and Gmail give me that problem.

I use credentials (client id and client secret) to enter.

I tried on Google api explorer and everything works fine.

How can I fix this error?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900