Skip to main content
0 votes
0 answers
21 views

How to generate the Endpoint URL to cloud functions for push subscriptions on Google Pub/Sub?

I have a Cloud Function (v1) that is set to trigger every time a message is received in a specific topic. This part of the configuration is done correctly (since I've followed previous working cloud ...
marianod323's user avatar
0 votes
2 answers
30 views

FCM push notification error: code: 'messaging/invalid-payload

I'm trying to implement FCM push notifications in a react.js app using Firebase Realtime Database Cloud functions, for the first time and stuck at this: error: Message must be a non-null object I've ...
Iam Wayne's user avatar
  • 561
0 votes
1 answer
34 views

Imported modules becoming undefined in TypeScript Firebase Functions

I'm using Firebase Functions in TS. When executing npm run-script build and starting the emulator, here's what it throws: TypeError: Cannot read properties of undefined (reading 'user') at Object.&...
starleaf1's user avatar
  • 2,884
0 votes
1 answer
25 views

Firebase v2 function loses admin rights

I have a firebase functions file that, in v1, worked perfectly. Upgrading to v2, I use: const functions = require("firebase-functions/v2"); const admin = require("firebase-admin"); ...
Andrew-NZ's user avatar
  • 501
0 votes
1 answer
37 views

Google Calendar Push Notification - Body is empty?

I have setup a push notification for calendar events like so: const response = await calendar.events.watch({ auth: authClient, calendarId: 'primary', requestBody: { id: 'calendar-...
corycorycory's user avatar
  • 1,656
0 votes
1 answer
24 views

The --update-labels argument of gcloud functions deploy does absolutely nothing

Maybe this is a bug because its suppose to work: https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--update-labels This command completes without issue: gcloud alpha functions deploy <...
red888's user avatar
  • 31.9k
0 votes
0 answers
25 views

Unable to get the context.uid from the Flutter client side to reach the Cloud Functions

Problem The getPotentialMatches Cloud Function in my Firebase project fails with the error User must be authenticated because context.auth is consistently undefined. The client sends a valid token, ...
Zakaria El Dandachi's user avatar
0 votes
1 answer
36 views

GCP Cloud Functions - How to import local scripts outside of cloud function? How to structure projects that use a global config.py file?

I have one giant repo folder which contains many more sub-repos, and each sub-repo contains multiple cloud functions, i.e. |-repo_master |-repo_a |-cloud_function_a |-....
Jack Kirby's user avatar
1 vote
0 answers
63 views

Flutter Firebase Messaging not receiving messages from backend on iOS (works on Android and with Firebase Console)

I'm having an issue with Firebase Cloud Messaging in my Flutter app where: On iOS: Messages only work when sent via Firebase Console, but not when sent from my backend On Android: Messages ...
Dali Hmida's user avatar
-4 votes
0 answers
27 views

El problema técnico que necesito reportar es un error 403 persistente en API Gateway [closed]

ID del Proyecto: formulariosweb-xxxxx Región: europe-west1 Servicios Involucrados: API Gateway, Cloud Run, IAM / Credenciales (API Keys), Service Control API Descripción del Problema: Estamos ...
Xabi Lopez's user avatar
0 votes
2 answers
28 views

Why are renames of (non-empty) folders not triggering Google Cloud Storage events?

I'm subscribing to Google Cloud Storage events with Firebase Functions (2nd gen) on the Node.js runtime, as described here. My bucket has Hierarchical Namespace enabled. For most operations, I ...
mgw's user avatar
  • 260
0 votes
1 answer
47 views

Can I add extra build steps when deploy cloud functions on GCP?

I am using terraform to deploy a python cloud function, similar to the official example, things are working as expected but now I want to use protobuf, which requires extra compile step, I know cloud ...
watashiSHUN's user avatar
  • 10.6k
0 votes
0 answers
22 views

Google Chat CardV2 with 'buttons' widget results in "Bot not responding" / API 400 Error

I'm developing a Google Chat bot using Node.js on Google Cloud Functions. I'm trying to respond to a slash command with an interactive card (CardV2) containing buttons. What Works: My function ...
David Kirschner's user avatar
0 votes
1 answer
53 views

"Error: There was an error deploying functions" with no other info

I'm getting the error "There was an error deploying functions" when trying to deploy a newly created function. There is no other error info in the output: i functions: updating Node.js 22 (...
aldel's user avatar
  • 6,788
0 votes
0 answers
30 views

Python Google Cloud Function issue with "requested_run_time"

I have a process in GCP that can be summarized as: a log sink checks the logs for a specific log (daily GA4 table is added to the dataset) when sink gets the log, a pub/sub message is sent to trigger ...
Merijn Dimmendaal's user avatar

15 30 50 per page
1
2 3 4 5
1237