Cloud Functions for Firebase - getaddrinfo ENOTFOUND

前端 未结 4 1417

Trying to make a request to Paypal\'s API using PayPal-node-SDK

exports.requestPayment = functions.https.onRequest((req, res) => {
    return new Promise(         


        
4条回答
  •  春和景丽
    2020-11-22 07:11

    You need to include service account to the admin initialization. this fixed the same issue for me

提交回复
热议问题