com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden 08-22 11:46:49.507 2210-2345/com.ridhs.vaccinesample W/System.err: { 08-22 11:46:49.507 2210-2345/com.ridhs.vaccinesample W/System.err: "code" : 403, 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: "errors" : [ { 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: "domain" : "global", 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: "message" : "Insufficient Permission", 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: "reason" : "insufficientPermissions" 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: } ], 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: "message" : "Insufficient Permission" 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: } 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:321) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1065) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.ridhs.vaccinesample.CalendarActivityMain$MakeRequestTask.getDataFromApi(CalendarActivityMain.java:426)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Sagar_Koli
, 1 year ago
403 Forbidden 08-22 11:46:49.507 2210-2345/com.ridhs.vaccinesample W/System.err: { 08-22 11:46:49.507 2210-2345/com.ridhs.vaccinesample W/System.err: "code" : 403, 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: "errors
com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden 08-22 11:46:49.507 2210-2345/com.ridhs.vaccinesample W/System.err: { 08-22 11:46:49.507 2210-2345/com.ridhs.vaccinesample W/System.err: "code" : 403, 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: "errors" : [ { 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: "domain" : "global", 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: "message" : "Insufficient Permission", 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: "reason" : "insufficientPermissions" 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: } ], 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: "message" : "Insufficient Permission" 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: } 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:321) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1065) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469) 08-22 11:46:49.508 2210-2345/com.ridhs.vaccinesample W/System.err: at com.ridhs.vaccinesample.CalendarActivityMain$MakeRequestTask.getDataFromApi(CalendarActivityMain.java:426)
at com.ridhs.vaccinesample.CalendarActivityMain$MakeRequestTask.doInBackground(CalendarActivityMain.java:352)
at com.ridhs.vaccinesample.CalendarActivityMain$MakeRequestTask.doInBackground(CalendarActivityMain.java:319)
at android.os.AsyncTask$2.call(AsyncTask.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.