Hello,
My agent uses an “OpenAPI” tool to perform calls to a cloud function.
I have added the “Cloud Functions Invoker” and “Cloud Run Invoker” roles to the service account “service-[project_number]@gcp-sa-dialogflow.iam.gserviceaccount.com”.
However, when my agent uses the tool, it ends with a “401 caused by ERROR_AUTHENTICATION” error.
I managed to get it working with my own personal token for testing purposes, but I need to use the service agent token for production.
Any help would be greatly appreciated.
Thanks in advance.
Regards, Hugo