Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
118 views

Gemini API Error 400: Invalid or Unsupported File URI

I am trying to build an Android app using a no-code platform but there are certain features that the platform doesn't offer. I want to prompt Gemini with an Image file using the API. I have created an ...
1 vote
0 answers
377 views

How can i upload images to Google Cloud Storage using Bubble.io?

I'm using the API Connector to use the Cloud Storage API, to store my data, but I'm having a hard time trying to upload images. In the example below I'm trying to upload a png image: This is how my ...
12 votes
3 answers
10k views

Can not create bucket "The account for the specified project has been disabled."

I have an old GAE application (in production since 2011) that use Cloud Storage service since it is available in beta. I have not touched this apps for almost 1 year now. I have to do some ...
206 votes
6 answers
151k views

Firebase Storage and Access-Control-Allow-Origin

I'm trying to download files from Firebase Storage through a XMLHttpRequest, but Access-Control-Allow-Origin is not set on the resource, so it's not possible. Is there any way to set this header on ...
0 votes
0 answers
11 views

fetch the profile pic from storage

I/flutter (11442) : Image path:companies/compID/employees/empID/profile_pics/file.jpg W/Storage Util(11442) : Error getting App Check token; using placeholder token instead. Error ...
0 votes
1 answer
600 views

In Firebase Storage how to Link to existing Google Cloud Storage bucket

As the title says, my goal is to add an existing google cloud storage bucket in Firebase storage under the Add Bucket section. I've seen some examples, when added a bucket, you have the option to &...
1 vote
0 answers
22 views

Cloud Run slow with Cloud Storage Signurl (Service Account)

I'm using a private bucket to host m3u8 videos which I then serve on demand by signing all the ".ts" segments using the Google Cloud Storage Signurl client for Golang. Testing on my computer ...
0 votes
2 answers
3k views

How to delete a image file from Google firebase Storage using python

I am currently in the process of creating a Web App (Flask) where users can log in and upload photos to Google Firebase. At one point in the code I was initially saving user uploaded photos to a local ...
3 votes
0 answers
31 views

Uploading multiple mp4 files to Firebase Cloud Storage causes Flutter app to crash

I need to upload multiple mp4 files to Firebase Cloud Storage on an Android device within a Flutter app. These files are captured offline, then stored on external device storage. I've noticed after a ...
-2 votes
0 answers
34 views

Cloud Function running more than once because it takes too much to run [closed]

I'm currently working in a project that involves doing a certain procedure to a lot of .csvs, basically I use one API to check if the email on certain rows of the .csvs are working good or not. And ...
-1 votes
0 answers
15 views

Permissions Google Cloud Composer

I want two members of my team to have permissions to use a google cloud composer that I created without having to give them my google account. I go to iam - admin in iam and there I press 'GRANT ...
0 votes
1 answer
26 views

Configure Cloud CDN for Static file with Cloud function

I have a bucket in Google Cloud Storage, which I want to configure in two ways – Make it a CDN hosted file – I want to be able to download the file directly. I am able to do this, but not run a cloud ...
0 votes
0 answers
29 views

Mutipart upload in GCS

I am trying to implement multipart upload in GCS but not finding any way to do that in Golang. This is the doc I was going through. How to implement multipart upload for GCS using Golang?
0 votes
0 answers
28 views

Using Xcom in Airflow GCS to BigQuery

Airflow GCSToBigQueryOperator has a param max_id_key: If set, the name of a column in the BigQuery table that's to be loaded. This will be used to select the MAX value from BigQuery after the load ...
0 votes
0 answers
14 views

How do I access a google storage bucket with gsutil? [closed]

Our parent office sent me a this to access a Google Storage Bucket: [default] access_key = MAYFULKH86HBGH58RXSAUTDW47GKT752IYAUVMUIQQUKSHKYCKSSWMNUSTET check_ssl_certificate = True guess_mime_type = ...
9 votes
3 answers
7k views

Google cloud/firebase storage Error: Cannot sign data without `client_email`. ... name: 'SigningError'

Im trying to get a signedurl from a file in firebase/gc storage. All other solutions that i could find was to create a service account, download the service key, and use it in my app, but ive done ...
0 votes
0 answers
22 views

What Is the Best Way to Persist ML Models Outside a K8S Cluster with Local Directory Like Interface? [closed]

Project Description A standard machine learning training and inference pipeline, as in the following diagram, but needs to be part of a Kubernetes cluster. Training Triggered as a cronjob, fetches the ...
0 votes
1 answer
43 views

unable to store getDownloadUrl in state

const [values, setValues] = useState({ description: "", postImgUrl: "" }); const [imgPreview, setImgPreview] = useState(); const handleChange = (e) => { setImgPreview(...
0 votes
1 answer
3k views

gcloud init cli command :ERROR: gcloud crashed (ValueError): the query contains a null character

I am trying to initialize my gcloud settings for a project. But when I run the gcloud init command, it gives error gcloud crashed. It was previously working but all of sudden today this command ...
0 votes
0 answers
36 views

AttributeError: 'Blob' object has no attribute '_prep_and_do_upload' When I try to perform add_texts() method in the VectorSearchVectorStore object

I'm trying to build a RAG system using a vector search index from GCP services on Python. I have already created the vector search index and deployed the endpoint. Im using below code: from ...
2 votes
4 answers
1k views

How do I start the Firebase Storage Emulator with production bucket data?

I'm using the Firebase Emulator to run all Firebase services. I have managed to run the emulator with a backup of my Firestore data by running: firebase emulators:start --import ./my-directory ... but ...
0 votes
0 answers
12 views

Accessing a Google Storage encrypted object without informing headers

I have many objects in my Google Storage bucket that are encrypted with a customer-provided encryption key. To access each file, I have to inform these 3 headers (I have the key): x-goog-encryption-...
6 votes
2 answers
6k views

Why this error appeared "No module named fsspec " and before it was working well

I am using pandas to read from gcs buckets and after making the required transformation and want to save it as parquet i got this error No module named fsspec, I solved it by just installing fsspec,...
2 votes
3 answers
4k views

Is there a simple way to host a JSON document you can read and update in Google Cloud Platform?

What I'm trying to do is host a JSON document that will then, essentially, serve as a hosted version of json-server. I'm aware I can do something similar with My JSON Server, but I plan to move my ...
13 votes
5 answers
41k views

FTP to Google Storage

Some files get uploaded on a daily basis to an FTP server and I need those files under Google Cloud Storage. I don't want to bug the users that upload the files to install any additional software and ...
4 votes
6 answers
16k views

Uploading file with python returns Request failed with status code', 403, 'Expected one of', <HTTPStatus.OK: 200>

blob.upload_from_filename(source) gives the error raise exceptions.from_http_status(response.status_code, message, >response=response) google.api_core.exceptions.Forbidden: 403 POST >https://www....
0 votes
0 answers
13 views

GoogleCloudStorageConnector Timed Out

I am trying to connect to a database using the GoogleCloudStorageConnector transfomer. I have a json key file which is needed to authenticate the connection, so I set up an environment variable with ...
0 votes
0 answers
47 views

BigQuery wrong row count inside google cloud storage parquets

I'm transfering data from BigQuery project to google cloud storage parquets (GA4 events table). What I'm doing : First of all i use source script to count rows which I transfer to parquets SELECT * ...
0 votes
0 answers
44 views

Wildcard rule for @storage_fn.on_object_finalized?

Currently, this Firebase function works fine @storage_fn.on_object_finalized( bucket='XXX.appspot.com', timeout_sec=540, memory=options.MemoryOption.GB_32 ) def process_audio_file(event: ...
1 vote
1 answer
21 views

remove file from GCS with DVC

Is there any way to remove a credential file that I've 'dvc pushed' to GCS? I can't access the GCS interface via the browser either I tried to do dvc rm data/jsons/creds.json but it says that 'dvc....
0 votes
0 answers
33 views

File encryption when downloaded from GCS using nodejs

I'm developing a files sharing app where one can easily upload and download files. The uploaded files are stored in a bucket on google cloud storage while the metadata are stored on atlas. The files ...
0 votes
1 answer
29 views

com.github.paulcwarren:spring-content-gcs does not have spring boot starter

I am using spring boot with google storage. I have been using before spring-content-fs-boot-starter. It was fine and working as expected. Now I am trying to use spring-content-gcs . since the boot ...
0 votes
0 answers
17 views

BigQuery won't recognize paired double quotes in CSV

I have a .CSV file I am pulling data from in Google Cloud Storage into a BigQuery external table with the following text: ASR-184,05/15/2023,""Occurence"" is spelled incorrectly on ...
0 votes
1 answer
55 views

How to move/copy files from ADLS Containers to GCS Bucket?

I have some files in ADLS Containers and I need to copy or move those files to GCS Bucket in certain interval. Can someone suggest what are the current option we have to achieve this?
1 vote
2 answers
2k views

Maximum number of files per folder in Google Cloud Storage

I want to setup Google Cloud Storage as my data lake and I'm using Pubsub + dataflow to save interactions into it. Dataflow creates a new file each 5 min to store it in a GCS folder. This will ...
0 votes
3 answers
8k views

Upload file to Google bucket directly from SFTP server using Python

I am trying to upload file from SFTP server to GCS bucket using cloud function. But this code not working. I am able to sftp. But when I try to upload file in GCS bucket, it doesn't work, and the ...
7 votes
5 answers
11k views

Flutter Firebase Storage not woriking: no default bucket

I am trying to upload a pdf-file to Firebase-Storage using this function: static Future<String> savePdf({ required Uint8List assetAsUint8List, required String fileName, required ...
3 votes
2 answers
12k views

Access google cloud storage bucket from other project using python

lets suppose I have google cloud storage bucket in project X and want to upload object in the bucket which is in project X from Code(Python) which is deployed on project Y. Both project X and Y are ...
0 votes
1 answer
53 views

Convert paramiko.sftp_file.SFTPFile object to unicode

What I need, is to copy a .csv file from an SFTP server to a Google Cloud Storage bucket without downloading the file locally. Here is my code so far: from google.cloud import storage import io ...
0 votes
2 answers
971 views

Design question for storing image resources for NextJS web app?

I'm working on a web app in NextJS and I'm wondering about the best way to store my image resources. I'm considering a Google Cloud Storage and using a public bucket to serve the images through a ...
0 votes
1 answer
43 views

Translate a document from Cloud Storage to Cloud Storage by nodejs

I would like to translate a docx document that I uploaded to my cloud. I read the document: https://cloud.google.com/translate/docs/advanced/translate-documents (I'm using Google Translation API) So ...
42 votes
6 answers
99k views

Google Cloud Storage + Python : Any way to list obj in certain folder in GCS?

I'm going to write a Python program to check if a file is in certain folder of my Google Cloud Storage, the basic idea is to get the list of all objects in a folder, a file name list, then check if ...
0 votes
0 answers
34 views

How to download a file storaged in Google Cloud using only a URL with file's view

I only have a link from a file storaged in the URL https://storage.googleapis.com/ (I understand that it is Google Cloud), this link shows me the file in the browser and I can download it manually. I ...
0 votes
2 answers
39 views

How to access Google Cloud Storage file with key

I have a project running on Google Cloud Platform, and I currently have some images saved on GCP Storage. These have an "Authenticated" URL that I can access if I run it on my browser where ...
1 vote
1 answer
194 views

In firebase rules how to check in firestore that a record exists in cloudstorage

I have records in firestore that refer to the names of files I have stored in cloudstorage. Before I allow a record to be written, I need to first check that the file has been uploadedto cloudstorage. ...
0 votes
0 answers
37 views

EXPORT INTO raising syntax errors in AMDP procedure

I am trying to upload the data from SAP tables to GCS Storage bucket and followed the documentation provided in EXPORT INTO Statement (Data Import Export), however when I try to implement the same in ...
0 votes
1 answer
104 views

SIGSEGV! error when trying to interact with Google Cloud Storage bucket w python

I am writing a Google cloud function. Part of it's responsibility is to write files to a Cloud storage bucket. I believe I have bucket permissions set up and my service account, etc, but any time I ...
0 votes
0 answers
26 views

How to download multiple files from Google Cloud Storage bucket and save each into its separate folder

I'm trying to download a batch of about 50 files from a Google Cloud Storage bucket. I have a bucket that contains multiple files. I can search and filter using the user interface until I have the ...
27 votes
6 answers
5k views

Host a static site single page app in Google Cloud Storage with routes

There are guides and questions all over the place on how to do this, but never really a concrete answer that is satisfactory. Basically, I'm wondering if it's possible to host a static SPA (HTML/CSS/...
1 vote
2 answers
522 views

Flysystem Google Cloud Storage adapter Uniform Bucket

I'm trying to user an uniform bucked with flysystem v3. https://flysystem.thephpleague.com/docs/adapter/google-cloud-storage/ $clientOptions = [ 'projectId' => "project-id", ...

1
2 3 4 5
227