I’m just hitting a public endpoint. When I hit it through postman, I don’t see any errors but if I hit my cloud functions which hit that public endpoint, then I see those error logs.
Any idea what the issue could be?
I’m just hitting a public endpoint. When I hit it through postman, I don’t see any errors but if I hit my cloud functions which hit that public endpoint, then I see those error logs.
Any idea what the issue could be?
Cloud Functions by default cannot access the internet, you will need to deploy a VPC Serverless Connector to route outbound access via the VPC and deploy a Cloud NAT to allow the function to access the public endpoint
https://cloud.google.com/functions/docs/networking/network-settings#route-egress-to-vpc