Currently, I am using the @google-cloud/storage NPM package to upload a file directly to a Google Cloud Storage bucket. This requires some trickery as I only have the image's base64 encoded string. I have to:   Decode the string Save it as a file...
I want to upload files to Google Cloud Storage (Bucket) through my PHP or JavaScript application which is hosted in my localhost or external server.   As I tried the Google Cloud Storage has the dedicated support to upload files from Google App Engin...
There's not much on the firebase documentation explaining how to upload files with a path when using the firebase admin sdk for google cloud storage.  I've looked at firebase's documentation and it specifies that I can create a bucket and...
I'm trying to make a Google Cloud Function which deletes images linked to person object in Firebase realtime database.. But every time I'm getting "Error during request" error (without any specific error.code, it's just undefined)...
I am using google cloud storage for storing images and also I have server running on NodeJs.   I want to generate for every image the servingUrl(aka magicUrl) which would on the fly generate images of different sizes(see more https://medium.com/googl...
I'm trying to reach files stored on my Firebase Storage to return a list of them to my APK. I made a cloud function, which is not working, even though when everything seems to be right settle.  index.js  const {Storage} = require('@google-clo...
I'm working on a PHP project in which I need to upload a file (provided by an HTML form) to the Google Cloud Storage Bucket. The form request will be received as an ajax request. My file is uploading successfully but inside the bucket, it shows a...
I cannot seem to delete files from my Firebase Storage using Firebase Functions. I have been at it for almost a week now, and the "closest" I have gotten I believe is an error within the error itself, "Cannot parse JSON response at ApiErr...
Reference: https://googlecloudplatform.github.io/google-cloud-node/#/docs/storage/0.8.0/storage/file?method=getSignedUrl  This is extremely strange. I did set my service account as having read permission of the storage objects.  What is going on ?  s...
With the following code I'm able to upload to my publicly writable bucket in google cloud storage. (allUsers has write permission). However If the bucket isn't publicly writable then I get a 401 unauthorised error. (I don't want the bucke...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.