question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deployment error. Failed to verify the provided Cloud Storage Signed URL

See original GitHub issue

node: 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:31 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
jhrtncommented, Aug 14, 2020

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 used firebase logout and then firebase login and everything worked fine. Seems like my projects were out of sync on the backend when I was trying to deploy.

2reactions
enzomanuelmanganocommented, Feb 3, 2020

It still doesn’t work. I tried everything.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found