Skip to content Skip to sidebar Skip to footer

Http Request To An External Api In Firebase Cloud Functions (spark Tier) Refused

I am trying to call an external resource from the web and load the results into Dialogflow using the NodeJS Client V2 and Cloud Functions. I have tried multiple combinations of t

Solution 1:

The free Spark plan on Firebase Cloud Functions doesn't allow calls to domains outside Google.

You will need to upgrade to one of the paid plans such as the Flame or Blaze plan, which requires a credit card on file. For low levels of usage, however, you won't be charged on Blaze.

The image below shows Spark, Flame, and Blaze. Notice the Google services only for Spark. https://firebase.google.com/pricing/

enter image description here

Update, Nov 2020

Note that the Flame plan is no longer available. So if you want external access, you'll need to use the Blaze plan.

Post a Comment for "Http Request To An External Api In Firebase Cloud Functions (spark Tier) Refused"