Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
872 views

Use Node-Fetch in TypeScript with CloudFunctions

So Im using Cloud Functions from Firebase with TypeScript I want to import node-fetch like: import * as fetch from "node-fetch"; but it doesn't import correctly: when I try to use fetch ...
Nikita's user avatar
  • 765
1 vote
0 answers
344 views

unable to verify the first certificate - node fetch

I try to get data from this api: https://www.meteoromania.ro/wp-json/meteoapi/v2/starea-vremii, when I implemented the function it worked but now after some time, I get the following error: Error ...
t3nsa's user avatar
  • 830
0 votes
1 answer
394 views

Batch Fetch in Firebase functions with node-fetch

I'm trying to batch fetch from the iexcloud api, a string of 100 symbols at a time, using firebase functions. My first fetch responds and writes to the DB correctly. On my second call I constantly get ...
MrVerticalStack's user avatar
8 votes
1 answer
3k views

How to use node-fetch with Cloud Functions for Firebase. Can't deploy

I wanna get data with Cloud Functions call from Flutter. Here is my code. const functions = require("firebase-functions"); const admin = require('firebase-admin'); const fetch = require('...
Masaru Nagaya's user avatar
0 votes
0 answers
611 views

Receiving and internal server error 500 when making a post request from a google cloud function

I actually found this exact question on the site previously, however the solution for their problem did not solve mine. Below is my code for my google cloud function: exports.makeOrder = functions....
Cristian's user avatar
0 votes
1 answer
134 views

Google Cloud Functions req/res with Promise by node-fetch

I am a total newbie to Javascript and trying to set up a bridge between two of the services I use. The goal is simply take body or the request, do a promise api call to another service to respond with ...
Yuri Vaskovski's user avatar
3 votes
1 answer
380 views

Address not found when making http request with Firebase functions [duplicate]

I've setup a Firebase function for a Google action with Dialogflow that makes an API call using node-fetch but I'm running into problems when I make the actual request. Even though I can visit the URL ...
James Ives's user avatar
  • 3,335