Category "google-cloud-functions"

http request does not get called when uploading the data to Firebase - firebase cloud function

Hello everyone I am trying to fetch the data from Binance than do a schedule function that uploads the data from the previous fetch to the Cloud FireStore , the

What Is The Right Way to Call A Google Cloud Function via A Next.js (with Typescript) App?

The component that I have doing an API call looks like this: import React from 'react'; import { Button } from 'react-bootstrap'; class Middle extends React.Co

Point custom Domain to the google cloud function through global https loadbalancer with serverless NEG as backend

I had a running myfunctionname cloud function with HTTP trigger URL: For Ex- https://us-central1-my-project.cloudfunctions.net/myfunctionname Now I want to map

Parsing error: Cannot read file '\tsconfig.json' eslint after following Firebase Cloud Functions initialization instructions

Problem Right after my TypeScript project initialization in VSCode using firebase tools for composing Firebase Cloud Functions following the official documentat

What causes a GCP Cloud Functions response error?

I have a GCP Cloud Function which is triggered via a Pub/sub topic. The function just backs up Datastore data to Cloud storage. The function works fine but I ge

How to listen to realtime database changes (like a stream) in firebase cloud functions?

I am trying to listen to the changes in a specific field in a specific document in Firebase Realtime database. I am using Node JS for the cloud functions. this

Google Cloud Platform Postman Only Calls Function Through Main Google Account And Not Service Account

I made a service account in GCP designed to run a cloud function. This is the service account, complete with json keys that I downloaded. Then I made this cloud

Firebase: Cloud Functions + Storage Read File

I am currently writing a function in Firebase Functions to be called within my Firebase mobile application. I have the code to call the function, but I do not k

ERROR: (gcloud.beta.functions.deploy) Invalid Cloud Source Repository URL provided when using cloud function gen2

I am trying out cloud functions gen2, but somehow the cloudbuild that builds the function cannot find the cloud source repository URL. This seems undocumented i

Defining Firebase Function Return Types in Firebase using TypeScript

Is there a way to define what a Firebase function's return type using TypeScript? For example: export const helloWorld = https.onCall(async (): Promise<strin

GCP: Trying to hit an Internal load balancer (internal IP) from Cloud Function

We have 3-4 services which we deploy via Instance Groups on GCP. We use an internal HTTP load balancer to allow access to these services within the network. Now

Why does GCP Cloud Functions log two blank lines?

I created a trivial GoLang 1.16 GCP CloudFunction and deployed it. When I make a request to the endpoint, I see two blank lines in the log output. I can't figur

What is the best way to invoke a firebase https callable function from within another https callable function

I wanted to know the best practice for invoking a callable (or "onCall") Firebase function from another Firebase callable function, where each of the callable f

Error: Cannot find module 'semver' when I run firebase deploy--only functions

When I run firebase deploy --only functions on Node.js command prompt, I got this error. Command prompt error

Error Deploying Cloud Function from gitlab

I am trying to deploy a cloud function via gitlab using a new service account (Not using default service account). It has the cloud functions developer role but

Push notification doesn't pop up on Android

I am creating flutter application using FCM for sending push notifications. I am sending notifications with Cloud Functions from website by sending JSON to devi

Webhook handler failed. View function logs in Firebase

Good, I wanted to know if someone can solve me this problem with Stripe and Stripe extension in firebase. Every time I complete a purchase in the session.checko

Data from function is of type unknown - functions v9

I have a cloud function that takes an email and returns the user info, including the uid. The function is declared like this: const getUserByEmail = httpsCallab

Firebase functions dispatch tasks in order

Based of this article recently published by Google I am trying to dispatch firebase tasks in the order(first in first out) of the queue. But no matter what sett

Google Cloud Monitoring Alert when Cloud Function status!=ok, it doesn't work

__ Hello, I would like to know how to raise a Alert Email notication when my Cloud-Function status is not "ok". I have configured my Cloud Monitoring alert as