firebase-functions icon indicating copy to clipboard operation
firebase-functions copied to clipboard

Firebase Functions execution fails using Firebase free plan for sending twilio sms

Open ghost opened this issue 9 years ago • 5 comments

Version info

firebase-tools:

current: 3.9.2

Were you able to successfully deploy your functions?

✔ functions[orderStatus]: Successful create operation. ✔ functions: all functions deployed successfully!

Actual behavior

Function log:

Billing account not configured. External network is not accessible and quotas are severely limited. Configure billing account to remove these restrictions.

Error: getaddrinfo ENOTFOUND api.twilio.com:443

Function execution took 377 ms. finished with status 'ok'

ghost avatar Sep 15 '17 08:09 ghost

As the error states, you need to enable billing on your account in order to make external network requests. See https://firebase.google.com/pricing/

laurenzlong avatar Sep 18 '17 22:09 laurenzlong

can't i use free plan with my cloud function and hit external api endpoint

Bensigo avatar Apr 26 '18 10:04 Bensigo

No sorry you can't, you need a credit card on file. See https://firebase.google.com/pricing/ for more info.

laurenzlong avatar Apr 26 '18 19:04 laurenzlong

Hi @laurenzlong,

My function logs show the similar error, even though i have upgraded my current plan to "Blaze" and also without making any external network call.

Can you please give me some pointers on this.

thomasbabuj avatar May 28 '18 07:05 thomasbabuj

Hi @thomasbabuj this is probably a project-specific issue, can you file a support ticket at firebase.google.com/support

laurenzlong avatar May 30 '18 00:05 laurenzlong