2

I have created an inline cloud function on GCP. I wanted to download the source and develop offline and upload later time. So I clicked the download zip button as below. download-zip-button

Anyway I am getting failed forbidden error. I have logged into my google account while downloading the zip.

failed-forbidden-error

2
  • 1
    why the downvote?
    – lakshman
    Jan 3, 2019 at 6:56
  • I too would like to know why the down vote! Aug 19, 2019 at 12:38

1 Answer 1

3

For me, this happens when I am logged into multiple Google accounts. It looks like the "Download zip" link isn't appending the "authuser=X" flag and so the download is attempted as the wrong user.

To fix this, I copied the link for the "Download zip" button, added the same "authuser=X" value as I had in my Google Cloud Console URL, and then everything worked.

1
  • Great catch! Seems like this problem occurs in a lot of places throughout Google sites Jan 13, 2020 at 12:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .