Search code examples
google-cloud-platformdialogflow-es

Project "xxx" has one or more liens on it to prevent accidental deletion. To delete the project, remove the liens first then try again


I try to delete the GCP project, but got below information:

enter image description here

When I click the Remove lien link, the browser redirects me to Dialogflow web UI. But give me an error:

com.google.apps.framework.request.NotFoundException: No DesignTimeAgent found for project 'slate-bf0ec'.

I had deleted all Dialogflow agents before. I still can't delete the GCP project. There is nothing to delete on Dialogflow web UI.


Solution

  • I did it deleting the liens using the console.

    1. Go to Google Cloud Shell & Set to your project.

    gcloud config set project [PROJECT_ID]

    1. List the project liens

    gcloud alpha resource-manager liens list

    1. Delete by name

    gcloud alpha resource-manager liens delete [LIEN_NAME]

    1. Delete the project