Skip to main content

All Questions

0 votes
0 answers
22 views

Generating GCP Cloud storage pre signed URL from Cloud Run [duplicate]

Im having a Python code in cloud run, which will create a pre signed url for Cloud storage object. But Im getting an error message back you need a private key to sign credentials.the credentials you ...
Aravind30790's user avatar
2 votes
0 answers
92 views

Authentication on a GCP Cloud Function from an AWS Lambda using GCP Service Account Impersonation

I'm working on making a call from an AWS Lambda (within a VPC) to a GCP Cloud Function, but I'm struggling to find a solution that allows me to authenticate this call from Lambda. We are not using GCP ...
Bigbentem's user avatar
0 votes
1 answer
97 views

Google Cloud Function using moviepy slows down and times out

I have written a program that takes in a youtubeURL, parses the transcript into clips, downloads the original video using moviepy, trims it into the clips, then uploads them to Google Storage. I can ...
Casey's user avatar
  • 23
0 votes
0 answers
46 views

Why is my http request with API not working with GCL cloud functions?

I'm trying to build a google cloud function with a HTTP API request, but it looks like it's not working. What i've tried: Already double checked API key if it's correct (API key is generated by ...
Robert Grootjen's user avatar
1 vote
0 answers
816 views

Why does my Google Cloud Function throw "Memory Limit of 256 MiB exceed" as an error but still it does the job?

I have a Google Cloud Function that has a Python 3.9 runtime. It is essentially an ETL script that extracts data from Google BigQuery and loads into the MySQL, triggered by an HTTP call to the ...
Nirshad Nijam's user avatar
0 votes
1 answer
516 views

How to use PyMuPDF with Cloud Functions

I am currently working on a firebase project and I have to write a cloud function that extracts text from a given pdf. The project is written in typescript but we sort of have to use the python ...
OleOle's user avatar
  • 11
0 votes
1 answer
94 views

Can't deploy Python script with Polygon io Library in Google Cloud Function

I have a Python script that works fine locally, but when I test it in Google Cloud Function, I get the following error: ERROR: failed to build: executing lifecycle. This may be the result of using an ...
Timur's user avatar
  • 11
1 vote
0 answers
60 views

Optimizing Google Cloud Function for Scalability with Large Excel to CSV Conversion

I'm using a Google Cloud Function to convert large Excel files to CSV. However, I'm facing performance and scalability issues. Here's the context: Current Setup: Region: eu Memory allocated: 2 GB ...
Ezeeddine's user avatar
0 votes
1 answer
169 views

How do I access the data in Google Cloud Function written in Python passed via JS FormData from frontend?

I have a ReactJS Frontend, where I am sending a data along with POST request's body payload in the FormData structure, but I am unable to access the data in my Google Cloud Function written Python ...
Khubaib Khawar's user avatar
3 votes
2 answers
686 views

How define region/location for deploy Firestore 2nd gen functions written in Python?

I'm trying to deploy a Firestore 2nd gen functions with command firebase deploy --only functions but I got a error: There was an issue deploying your functions. Verify that your project has a Google ...
Andre Araujo's user avatar
  • 2,398
0 votes
0 answers
402 views

Python Google Cloud Function fails build with non-zero status: 51

Similar to this nodejs issue: Google Cloud Functions deploy failed with status code 51 , I am seeing the same exact issue in my python cloud functions. This is quite random, and I have been able to ...
Cole Gulledge's user avatar
0 votes
1 answer
2k views

Error 401 Unauthorized when invoking Cloud Function despite granting roles

I have been trying to solve this on my own but have not been able to do it. I made a simple cloud function (1st gen) that should give the message "hello world" def hello_world(request): ...
Rafael Pabon's user avatar
3 votes
1 answer
436 views

Problem invoking a Cloud Function with "Allow internal traffic only" flag from another Cloud Function

I have 2 Google Cloud Function 1 gen, R and C, on the same GCP project. R is a private function with the "Allow internal traffic only" flag set to true. In the permission tab I give to the ...
Marco Mantovani's user avatar
1 vote
2 answers
1k views

Firebase python cloud function is unable to import local package

I try to deploy a firebase cloud function via Firebase cli. My folder structure is: functions |--localpackage | |-__init__.py | |-constants.py |-main.py |-requirements.txt An I try to import ...
Gamagu's user avatar
  • 33
0 votes
2 answers
2k views

Why does a Python request from Firebase Cloud Functions result in a CoreFoundation error?

I am attempting to make a request to a third party API via a python script in a Firebase cloud function (2nd generation cloud functions python public preview): def foo(req: https_fn.Request) -> ...
Zachary Khan's user avatar

15 30 50 per page
1
2 3 4 5
19