Category "google-cloud-functions"

what is the best way in flutter to implement payments?

I have to implement an app and a web app with payments. I wanted to use Firebase functions, what do you think is the best way to do it? APay, GPay, PayPal, Stri

cloud function triggering delay and retry

I have a firebase trigger function with failurePolicy: true (the function will automatically retry if fails). I avoid infinite retry loops as described here : h

Trigger Google Cloud Function using JWT

I am trying to trigger a Google cloud function using an HTTP request and a service account. I followed these steps : Create a service account Download JSON key

after delete a cloud function it still in gcf-sources

I deployed two firebase cloud functions then I deleted one of them using firebase CLI as the docs said, but I can still see it in the gcf-sources in Google clou

Parse external JSON using Firebase Functions

I just started using Firebase a couple of days ago for my mobile app, so I’m sorry if this might come off as a stupid question, I’m still learning :

How to remove an image from Artifact Registry automatically

Using gcloud I can list and remove the images I want through those commands: gcloud artifacts docker images list LOCATION/PROJECT-ID/RESPOSITORY-ID/IMAGE \ --

cloud function Not all code paths return a value still I am returning all values possible?

any idea why my cloud function is telling my that (Not all code paths return a value) I put a return on the promise at the end also on the if statement yet it

Cloud functions are getting called two times, first time with body and second time without

My index.ts has: exports.foo = functions.https.onCall(async (data, context) => { console.log('Hello World'); return null; }); To deploy, I run: firebase

Function stops without any logs in firebase (sometimes works well.. sometimes partly) - confused

Can you please share your thoughts or experience why this can happen: I have a folder on firebase cloud with a bunch of images (jpeg, png). It can contain from

Calling Firebase cloud function causes DEADLINE_EXCEEDED error when using Firebase emulator

I've got a very simple cloud function that returns a string in a JSON. const functions = require("firebase-functions"); // Create and Deploy Your First Cloud F

Permission denied to google cloud secret on firebase function deploy

I have a firebase project with a google cloud function like this: export const myFun = functions.region("europe-west1") .runWith({ timeoutSeconds: 10, secre

Using Firebase Functions with Nuxt 3

Environment Operating System: macOS 10.15.7 Node Version:v16.14.2 Nuxt Version: 3.0.0-rc.2 Firebase: 9.7.0 firebase-admin: 10.2.0 firebase-functions: 3.21.0 fir

How Do I Call An Authenticated HTTP Trigger Google Cloud Function Via A Next.js (with Typescript) App?

I created a Google Cloud Platform account, and made a simple hello_world type Python "Cloud Function" that just spits out some simple text. I made this function

Yarn workspaces monorepo with Firebase functions failed to initialize

I am trying to set up a monorepo that firebase functions will be able to require some shared logic from different directories - as for now I have a setup that w

The view function for 'run' did not return a valid response. The function either returned None or ended without a return statement

I did write an HTTP Cloud Function in the Google Cloud Platform. The purpose of this function is to update data in the Database (Firestore). I do not intend to

HTTP Response Error - Firebase + Node JS 16

I've reduced my code to the bare minimum to troubleshoot why I receive a response error when I put a HTTP request in. I first receive a status 200 message upon

How to trigger async job from a Cloud Function

I have a Cloud Function (Python) which is triggered by http from web client, it has to calculate something and respond FAST. I would like to save the http reque

Firebase functions deploy 403 Permission denied on 'locations/null' error

I am trying to deploy Firebase functions project, on two different target projects on Firebase. One is in region "us-cenral" and the other one is "europe-west".

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