I built my container image and then deployed to Cloud Run using the Cloud Console. However, when I open the endpoint URL of my service, I get a 403 "Error: Forbidden"
page
Asked
Active
Viewed 9,695 times
5

Super Kai - Kazuya Ito
- 22,221
- 10
- 124
- 129

Steren
- 7,311
- 3
- 31
- 51
2 Answers
12
If you receive a 403 "Error: Forbidden" error message when accessing your Cloud Run service, it means that your client is not authorized to invoke this service. You can address this by taking one of the following actions:
- If the service is meant to be invocable by anyone, update its IAM settings to make the service public.
- If the service is meant to be invocable only by certain identities, make sure that you invoke it with the proper authorization token.

Steren
- 7,311
- 3
- 31
- 51
-1
I have used IAP to resolve this issue. If there is a use case where only authenticated users must be able to access the application then use IAP

sidharth vijayakumar
- 1,190
- 5
- 29