Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [google-cloud-functions]

Google Cloud Functions is a lightweight, event-based, asynchronous compute solution that allows you to create small, single-purpose functions written in Node.js, Python or Go that respond to cloud events without the need to manage a server or a runtime environment.

google-cloud-functions
0 votes
0 answers
7 views

How do I add a new font to a fpdf2 doc I'm hosting on google cloud functions?

I have a python google cloud function that should create a pdf when triggered, but the code seems to breakdown, seemingly because of the font, see below. I tested the workflow with my local ...
Jason Vuka's user avatar
0 votes
0 answers
18 views

Firebase onCall Functions Blocked by CORS, tried as true, with links, as false

Yes there are hundreds of post already about this, I've tried every solution. And it's still not working. I have onCall firebase functions working fine locally, but not when deployed to staging. I ...
lando2319's user avatar
  • 1,739
1 vote
1 answer
20 views

Do onCall and onRequest Google Cloud Functions also follow the at-least-once execution pattern?

From the official Cloud Functions docs: Cloud Functions provides at-least-once execution of an event-driven function for each event emitted by an event source. Does that also apply to onCall and ...
cbdeveloper's user avatar
  • 30.4k
3 votes
0 answers
12 views

gcloud mistakes event trigger for storage trigger

There's a cloud function in Python that processes some data when a file is uploaded to firebase's bucket: @storage_fn.on_object_finalized(bucket = "my-bucket", timeout_sec = timeout_sec, ...
the.Legend's user avatar
0 votes
0 answers
26 views

different predictions on same data, TenserflowJS

I have saved a TFJS model to a document in cloud firestore, if I run this code straight from the browser: const jsonObject = JSON.parse(TFModeljson); loadedModel = await tf.loadLayersModel(tf.io....
chrispsv's user avatar
  • 655
0 votes
0 answers
14 views

Google Cloud max instance is not changing

gcloud functions deploy $FUNCTION_NAME --gen2 --runtime nodejs20 --entry-point $FUNCTION_NAME --source . --region $REGION --trigger-bucket $BUCKET --trigger-location $REGION --max-...
Yash Parwal's user avatar
0 votes
0 answers
10 views

How to create a public api for deployed model in vertex ai to access from my own application?

I have deployed the ML model from HuggingFace to Google cloud Platform vertex ai. No, I have to create a public api for that model to access it from my own application. HuggingFace model Link: https://...
Mohan Paineti's user avatar
0 votes
1 answer
17 views

Firebase functions defineSecret vs defineString security

I am developing a small firebase app and, as part of it, I have some backend functions that make calls to an API using an API key. To avoid storing the key in version control, I define it using ...
Someone's user avatar
  • 822
0 votes
1 answer
28 views

Why firebase cloud function return 404 Not found and how to fix it?

Seems like I am making API calls, but i get 404 back. I see function calls are added in cloud console function call counter. But i don't see log console.log("function call begin"); What am I ...
Reinis 's user avatar
0 votes
0 answers
26 views

Cloud function works as http, but doesn't work as a scheduled function

I have a daily scheduled function as follows: export const dailyExecutedFunction = async (): Promise<void> => { try { // some other code setRoutineAnalytics(); } catch (error) { ...
Edward Cahyadi's user avatar
0 votes
0 answers
39 views

Why does nothing show up in the Datastore database when using Google Cloud Functions?

I have set up a Google Cloud function that automatically runs a document AI processor when a document is uploaded to a storage bucket, and then sends the results to Datastore. I have created a ...
kriwet's user avatar
  • 43
0 votes
0 answers
32 views

Why is the Google Cloud function not finding the default Datastore database? [duplicate]

I have set up a Google Cloud function that automatically runs a document AI processor when a document is uploaded to a storage bucket, and then sends the results to Datastore. I have created a ...
kriwet's user avatar
  • 43
0 votes
0 answers
17 views

Failed to load function definition from source: FirebaseError

I using firestore for study functions so when i went run that aplication appear this error, if this important, i use npx "Failed to load function definition from source: FirebaseError: Functions ...
MagicGanza's user avatar
0 votes
0 answers
15 views

Prototype issue whith Firebase cloud functions

I have an issue while writing Firebase cloud functions. Here is the relevant code I have for a cloud function: import {onRequest} from "firebase-functions/v2/https"; import * as admin from &...
Michel's user avatar
  • 11.4k
0 votes
0 answers
15 views

I get UNAVAILABLE error when I try to call Firebase Cloud Function in React Native Android App

I get UNAVAILABLE error all the time when I try to call Firebase Cloud Function in React Native Android App. I installed React Native Firebase exactly as it is described here: https://rnfirebase.io/ I ...
Konstantin Starobinets's user avatar

15 30 50 per page
1
2 3 4 5
1223