I tried to deploy a cloud function like this:
user[at]cloudshell:~ (bookshelf-414713)$ gcloud functions deploy bookshelf --runtime java17 --trigger-http --entry-point cloudcode.bookshelf.Bookshelf --allow-unauthentica
and got the following error:
ERROR: (gcloud.functions.deploy) Failed to upload the function source code to signed url: https://storage.googleapis.com/uploads-381804693288.us-central1.cloudfunctions.appspot.com/8421e509-.... Status: [400:b"EntityTooLargeYour proposed upload is larger than the maximum object size specified in your Policy Document.
Content-length exceeds upper bound on range
"]
How to resolve?
[note: post has removed some xml characters in error]
To resolve the "EntityTooLarge" error when deploying a Cloud Function:
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 |