com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Forbidden", "reason" : "forbidden" } ], "message" : "Forbidden" }

Stack Overflow | edmar | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Google Domain API keeps returning 401/403 in responses. What am I doing wrong?

    Stack Overflow | 2 months ago | edmar
    com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Forbidden", "reason" : "forbidden" } ], "message" : "Forbidden" }
  2. 0

    YouTube API v.3 with GoogleCredential (OAuth2): My YouTube credentials get "Insufficient Permission" when createPlaylist or uploadVideo

    Stack Overflow | 4 years ago
    com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Insufficient Permission", "reason" : "insufficientPermissions" } ], "message" : "Insufficient Permission" }
  3. 0

    com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden

    Stack Overflow | 2 years ago | Sandeep Chatterjee
    com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden Stacktrace: Exception in thread "main" com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Forbidden", "reason" : "forbidden" } ], "message" : "Forbidden" }
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Impossible to download a file in CSV format

    Stack Overflow | 1 year ago | user3127125
    com.google.api.client.googleapis.json.GoogleJsonResponseException: 500 Internal Server Error { "code" : 500, "errors" : [ { "domain" : "global", "message" : "Internal Error", "reason" : "internalError" } ], "message" : "Internal Error" }
  6. 0

    fHow to correctly authenticate Google OAuth using a service account and p12 file

    Stack Overflow | 2 years ago
    com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Insufficient Permission", "reason" : "insufficientPermissions" } ], "message" : "Insufficient Permission" } The stacktrace looks like this ! at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:145) ~[google-api-client-1.19.0.jar:1.19.0]
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.google.api.client.googleapis.json.GoogleJsonResponseException

    403 Forbidden { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Forbidden", "reason" : "forbidden" } ], "message" : "Forbidden" }

    at com.google.api.client.googleapis.json.GoogleJsonResponseException.from()
  2. Google APIs Client Library for Java
    AbstractGoogleClientRequest$1.interceptResponse
    1. com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:146)
    2. com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
    3. com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
    4. com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:321)
    4 frames
  3. Google HTTP Client Library for Java
    HttpRequest.execute
    1. com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1065)
    1 frame
  4. Google APIs Client Library for Java
    AbstractGoogleClientRequest.execute
    1. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)
    2. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
    3. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
    3 frames