Deployment error. Failed to verify the provided Cloud Storage Signed URL
See original GitHub issuenode: v8.16.2
firebase-functions: ^2.0.0
firebase-tools: 7.9.0
firebase-admin: ^7.0.0
I’m trying deploy functions using only:
firebase --project ddmania deploy --only functions
However, a got the following error:
Deployment error. Failed to verify the provided Cloud Storage Signed URL
How can i solve it?
I have no any file in Cloud Storage…
When a try to access any function i get the following error:
Error: Forbidden Your client does not have permission to get URL
I tried set the role function as allUsers
but still giving error…
I also have a service account set up… but no success…
content of my index.js
const functions = require('firebase-functions');
const admin = require('firebase-admin');
var serviceAccount = require("./ddmania-live.json");
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
databaseURL: "https://ddmania-live.firebaseio.com",
});
exports.teste = functions.https.onRequest((req,res) => {
res.send({"message":"WORKKKK :)"})
})
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:31 (9 by maintainers)
Top Results From Across the Web
Deployment error. Failed to verify the provided Cloud Storage ...
running firebase deploy, got an error: Failed to verify the provided Cloud Storage Signed URL === Deploying to 'fixawy2'... i deploying ...
Read more >Signed URLs | Cloud Storage - Google Cloud
This page provides an overview of signed URLs, which give time-limited access to a specific Cloud Storage resource. Anyone in possession of the...
Read more >Google storage permissions error while generating signed url ...
Using the snippet below on my local machine, I'm able to access cloud storage and generate these URLs. /* eslint-disable indent */ import...
Read more >Deployment error. Failed to verify the provided Cloud Storage ...
Deployment error. Failed to verify the provided Cloud Storage Signed URL.
Read more >getSignedUrl giving "SigningError: Failure from metadata server"
This endpoint is using the getSignedUrl function from the Cloud Storage package. I wanted to return a signed URL so the client can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just had this same error and found this thread. I use two separate firebase projects, one for dev and one for prod. Using the firebase-cli I’d just added the dev project. I’d used
firebase use project-name-prod
but had the issue deploying cloud functions. I usedfirebase logout
and thenfirebase login
and everything worked fine. Seems like my projects were out of sync on the backend when I was trying to deploy.It still doesn’t work. I tried everything.