Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • check that there are no firewalls/antiviruses blocking your ports

  • check that the cert.pem file is in the same directory where you try to run the script

Dialogflow (IAM) Permissions Issues

  1. Open your Dialogflow agent in the browser (dialogflow.google.com)

  2. Navigate to the settings of the agent

  3. Click on the Project ID name. This should redirect you to the Google Cloud account page

    Image Added
  4. Check if the name of the project you are logged in matches the one of your robot Project ID. If it doesn’t select the right project

  5. Navigate to the IAM settings of your Google Cloud account. If the permissions are set correctly you should find both the email you are logged in with in your Google Cloud account, and also the service account email

    Image Added
  6. If one of those emails are missing, add it via the “Grant Access” button at the top of the page

    Image Added
  7. Fill in the missing email in the “Add principals” field, and give it the role of “Owner”. Save.

  8. You should now have the proper permissions to your Dialogflow agent

Tip: You can find your Service Account email by navigating to the “Service Accounts” page

...