When I have a public function (the code is the basic starter boilerplate) on Google Cloud Functions
I cannot access the respective URL
neither add allUsers principal.
This issue is not present on 1-gen.
Solved! Go to Solution.
Hi @No0Priority,
Welcome to Google Cloud Community!
Based on the information provided, it appears that you are encountering a 403 error when using the 2nd Gen public function. You may want to follow this instructions from the documentation provided when using the 2nd Gen:
Go to the Google Cloud console:
Click the linked name of the function to which you want to grant access.
Click the Powered By Cloud Run link in the top right corner of the Function details overview page.
Open the Security tab, and under Authentication, select Allow unauthenticated invocations.
Click Save.
Thank you.
Hi @No0Priority,
Welcome to Google Cloud Community!
Based on the information provided, it appears that you are encountering a 403 error when using the 2nd Gen public function. You may want to follow this instructions from the documentation provided when using the 2nd Gen:
Go to the Google Cloud console:
Click the linked name of the function to which you want to grant access.
Click the Powered By Cloud Run link in the top right corner of the Function details overview page.
Open the Security tab, and under Authentication, select Allow unauthenticated invocations.
Click Save.
Thank you.