Hi Team,
I created cloud run function which is deployed to cloud run. We are only allowed internal + load balancing set up within our organization. When i try to trigger using curl command from cloud shell iam getting below error:
how can i trigger the cloud function using curl command or make request to cloud function in this case?
Hi @sunandinira,
Welcome to the Google Cloud Community!
A HTTP 404
: Not Found error generally occurs when a server is reachable but cannot find the requested resource. This mostly happens due to a broken link, a moved or deleted page, or an incorrect URL.
To resolve this, follow these troubleshooting steps:
gcloud run services describe SERVICE_NAME | grep URL
404
error codes. If your app is returning the 404
, it will be visible in Cloud Logging. If 404
is seen in Cloud Logging on only cold starts, then your app may not be ready for requests when the container begins listening on the configured port.404
error code when you run it locally.If these steps didn’t resolve the issue, feel free to check out our other options for support or update this thread.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.