Category "google-cloud-functions"

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

Disable / Undo Firebase Cloud Functions default request parsing

I want to deploy a remix application to Firebase Cloud Functions, using Hosting for the static assets. The function is defined as: const functions = require("fi

How to invoke Cloud Function from Cloud Scheduler with Authentication

I've looked everywhere and it seems people either use pubsub, app engine http or http with no auth. Not too many people out there showing their work for accessi

GCP Cloud Function to write data to BigQuery runs with success but data doesn't appear in BigQuery table

I am running the following cloud function. It runs with success and indicates data was loaded to the table. But when I query the BigQuery no data has been added

How to deploy multiple cloud functions that are newly pushed using google cloud build and Source Repository?

I have a project folder with different cloud functions folders e.g. Project_Folder -Cloud-Function-Folder1 -main.py -requirements.txt

Add Stripe Credit Card without Payment in SwiftUI

I am struggling to find a solution that isn't UIKit, or one that requires you make a purchase. My project is trying to integrate Stripe in SwiftUI, using node.j

Cannot find module 'axios'

I am coding a small program for Firebase Functions, using node.js. I always install my node modules using npm and i also installed axios using npm only. Howe

alternative to sending email using gmail with firebase function

I recently got that email from Google which says that as the beginning of 30.05.2022, we will not be able to use "less secure apps" options anymore. I'm using

Does Deployment Manager have Cloud Functions support (and support for having multiple cloud functions)?

I'm looking at this repo and very confused about what's happening here: https://github.com/GoogleCloudPlatform/deploymentmanager-samples/tree/master/examples/v2

Run two function projects at the same time

Can we run two Firebase Function projects with the emulator at the same time? We want to test the interaction of two Firebase Function projects locally. We ha

How to get a full screen notification from FCM?

I am building a home automation project that has a fire sensor that will write to Firebase Database if there is a fire detected, then from that point I need to

ERROR: error fetching storage source: generic::unknown... When deploying GCP Cloud Function via GitHub Actions

I'm deploying a Firebase Cloud Function via this GitHub Action. When I deploy from my own machine using a service account it works fine. When running the Action