Filter this document's content by the agent type tag:
Filter this document's content by the category tag:
Enable Cloud Logging for your agent
Activate Cloud Logging for your agent. This is essential for capturing data and diagnosing problems in real conversations.
Collect Conversation IDs
When unexpected behavior occurs, collect the Dialogflow conversation IDs. These IDs, found in the Conversation History, provide a way to trace the execution path of a conversation and examine specific interactions.
API call mentions unknown project
Category tags: API, Project
Issue
Received
Dialogflow API has not been used in project 32555940559
error for API call.
Solution
Ensure you have done the following:
- Set the
GOOGLE_APPLICATION_CREDENTIALS
environment variable (seePERMISSION_DENIED
). - Provided the correct project ID to the API call.
Unable to delete project because of lien
Category tags: Project
Issue
When trying to delete a Google Cloud project, you get a notification that the project cannot be deleted because it has liens, and one of the liens is related to Dialogflow ES.
Solution
Make sure that you no longer need the Dialogflow ES agent associated with the project. If you get a notification that the agent doesn't exist, this means that it has already been deleted.
Dialogflow ES Console
Open https://dialogflow.cloud.google.com/#/agent/project-id/intents.
Note that this link differs from the link in the Google Cloud project deletion dialog.
Dialogflow API
Use the
search
method of theagent
type.Get the lien name.
gcloud
Use the gcloud alpha resource-manager liens list command, as described in the Listing liens on a project documentation.
API Explorer
Use the Try this API panel on the Method: liens.list page:
- Fill out the
parent
field, as suggested in the parameter description. - Click Execute.
- Fill out the
Delete the lien.
gcloud
Use the gcloud alpha resource-manager liens delete LIEN_NAME command, as described in the Removing liens from a project documentation.
API Explorer
Use the Try this API panel on the Method: liens.delete page:
- Fill out the
name
field with the lien name that you got at step 2. - Click Execute.
- Fill out the
Shut down the project.
Console fails to set up project
Category tags: Console, Project
Issue
Received
Failed to set up GCP project
error when creating an agent with the console.
Solution
You may not have permission to create Google Cloud projects. Check if you can create a Google Cloud project directly from the Google Console. If you are not able to create a project, follow the recommendations provided in the error message.
Provide Complete Information to Support
When opening a support case with Cloud Support, include the relevant conversation IDs and logs collected during your investigation. This information is critical for debugging issues efficiently.