403 "Error: Forbidden" when opening the URL of my Cloud Run service

Solution 1:

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.