GCP Error: 403: Access Denied

0 votes
I tried to list the objects in my Cloud storage bucket in GCP but got a 403 Access Denied error.

How do I resolve this?
Oct 9, 2019 in GCP by Karan
• 8,040 points
58 views

1 answer to this question.

0 votes
Check that your credentials are correct. For example, if you are using gsutil, check that the credentials stored in your .boto file are accurate.

Assuming you are using the correct credentials, are your requests being routed through a proxy, using HTTP (instead of HTTPS)? If so, check whether your proxy is configured to remove the Authorization header from such requests. If so, make sure you are using HTTPS instead of HTTP for your requests.
answered Oct 9, 2019 by Sirajul
• 45,590 points

Related Questions In GCP

+1 vote
1 answer

GCP Error: "Unable to connect on port 22"

You may see this error under the ...READ MORE

answered Sep 24, 2019 in GCP by Sirajul
• 45,590 points
484 views
0 votes
1 answer
0 votes
1 answer

Access not configured Error while trying to use Cloud DNS.

This might be probably because you wouldn't ...READ MORE

answered Oct 10, 2019 in GCP by Sirajul
• 45,590 points
33 views
0 votes
1 answer
0 votes
1 answer

Permissions issue with Google Cloud Storage Bucket.

You can regain access to the object by assigning an applicable role, like roles/storage.objectAdmin, to ...READ MORE

answered Oct 10, 2019 in GCP by Sirajul
• 45,590 points
207 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to create a Google Cloud Filestore instance?

Create an instance by running the instances create command, ...READ MORE

answered Oct 23, 2019 in GCP by Sirajul
• 45,590 points
51 views
0 votes
1 answer