Category "google-cloud-functions"

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

KoaJs cant handle POST requests on CloudFunctions

I have a NodeJS Application written in KoaJS, app.ts const app = new Koa(); app.use(healthCheck()); app.use(bodyParser()); app.use(errorHandler()); app.use(end

Firebase Functions "subscribeToTopic" works only for the first time

For some reason, I can't subscribe users for more than one topic Here is my code: exports.subscribe = functions.https.onCall((request, response) => { conso

Error parsing triggers: Cannot find module 'csv-parse/sync'

I am using Firebase functions to build an API that parses CSV files. When I try to use csv-parse/sync instead of csv-parse, my deploy to Firebase Functions fail

NodeJS GC function cannot be initialized

Trying out my first NodeJS cloud function so far unsuccessfully despite working fine VS code. Getting following error Function cannot be initialized. Error: fun

Access Firebase access token through Firebase Admin PHP SDK

I have generated myself a service account with .json file for Firebase Admin PHP SDK authorization. Aside from that, I would want to use the same service accoun

ECONNREFUSED Error when trying to run Firebase pubsub scheduled cloud function on shell

I am trying to run a pubsub.schedule function on Firebase emulator. I tried to follow the instructions in the following links. https://github.com/firebase/fir