Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Conversatonal agent integration with git.

Hi, I want to integrate conversaional agent with bitbucket. As per the documentation everything went well but when I push the agent to Git it says "Internal Error Encountered". 

The user has roles/dialogflow.reader permission. I also tried with roles/dialogflow.admin permission

Is it a bug or how to resolve? 

0 1 173
1 REPLY 1

Hi @sasim,

Welcome to the Google Cloud Community!

It looks like you are encountering an "Internal Error Encountered" when Dialogflow tries to push the agent to Bitbucket. This issue likely stems from a connection, authentication, or authorization problem between Dialogflow's service and Bitbucket, rather than a limitation tied to your personal Dialogflow user permissions.

Here are the potential ways that might help with your use case:

  • Check Google Cloud Logging (Stackdriver): You may want to check Logs Explorer in Google Cloud Console for your Dialogflow project. Adjust the time range to match your push attempt for better insights.
  • Verify the Repository URL: Make sure the SSH (‘git@...’) or HTTPS (‘https://…’) URL entered in Dialogflow's Git settings precisely matches the correct URL for your Bitbucket repository.  
  • Check the Branch Name: Confirm that the branch specified in Dialogflow (e.g., ‘main’, ‘master’) exists within your Bitbucket repository and is not protected in a way that restricts direct pushes.
  • Service Status: You may review the status pages for Bitbucket and Google Cloud (Dialogflow) to see if there are any current service disruptions.

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.