Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot re-enable Cloud Functions for Firebase in dialogflow

I am working in a dialogflow agent and I had Cloud Functions for Firebase enabled and handling my my intents previously. I disabled them on this agent because I was unable to enable them on another agent and I wanted to see if it was a permission issue or something differing between agents. Now, once disabling Cloud Functions on the previously working agent I cannot re-enable Cloud Functions on that agent so I am locked out of doing any sort work fulfilled by Cloud Functions.

In the console I am flipping the switch from DISABLED to ENABLED and the UI changes showing that it should be enabled. Like this:

after toggling to enabled

I notice here that there is no Save or Deploy button. Not sure if that is an issue, but when I click on Intents in the side bar and then click back on Fulfillment the screen looks like this again where Cloud Functions are disabled:

fulfillment after going back

The fact that I am unable to enable Cloud Functions is further confirmed by the fact that the last logs I had in Cloud Functions is from a few days ago when I made the mistake of disabling Cloud Functions fulfillment.

I hope I'm missing something simple here, but I can't find anything (yet) in the dialogflow documentation that tells of anything that I'm missing. I'm kind of at a loss since it was working before and now I can't seem to turn it back on.

Any help would be much appreciated. Thanks!

like image 208
jasonmerino Avatar asked Aug 02 '18 15:08

jasonmerino


People also ask

Why does cloud deployment fail?

Cloud Functions deployment can fail if the entry point to your code, that is, the exported function name, is not specified correctly. Your source code must contain an entry point function that has been correctly specified in your deployment, either via Cloud console or Cloud SDK.

Which of the below event provider is not supported by cloud function?

In Cloud Functions (2nd gen), Pub/Sub triggers and Cloud Storage triggers are implemented as particular types of Eventarc triggers. Note: Eventarc does not currently support direct events from Firestore, Google Analytics for Firebase, or Firebase Authentication.


1 Answers

You should navigate to your firebase console, choose the project, click on the left menu on develop > functions, then on the three dots on the right you can delete your function.

You then, go back to your Dialogflow console and select the inline editor toggle, in case it does not work right away, try refreshing the page.

like image 109
Amanda Cavallaro Avatar answered Oct 05 '22 22:10

Amanda Cavallaro