我正在尝试从Google Cloud控制台创建一个新的Google Cloud函数,但是该函数启动失败并出现超时错误。我已经有3个正在运行的云函数。
当我尝试从Google Cloud shell创建相同的函数时,
gcloud functions deploy user_upload --runtime python37 --trigger-resource augmenta-user-uploads --trigger-event google.storage.object.finalize
出现了错误,错误信息如下
错误:(gcloud.functions.deploy)无法将函数源代码上传到已签名的URL: https://storage.googleapis.com/gcf-upload-us-central1-204cf3ba-be49-4143-960f-fb427a786fca/b4d05dc0-07e2-4924-8dfa-26092ac05f76.zip?GoogleAccessId=service-799336262900@gcf-admin-robot.iam.gserviceaccount.com&Expires=1541158967&Signature=VVi0GQc1FKPbdyKC41hu1C%2FMLouyntkC%2FegRgMBRK17jSkx6iNVpH1QoBWJAl81hlrzw% 2Bw4%2FTfaMowkFkfHO0e4%2FRd1UChcv3b%2BpIIqDw8hgk91r9jiS1cCMGaJc53pUaRMUKRT3CPUO%2BSQ6GLU6a1g%2Fp%2BJclSfOQOaoqsQAtThF9RZ%2BBlLdeBrXRtvxa0Odx1o5Ze0g6jsdiMCfaxojmKUy0prOEjZcJwjLfMwlwa85kugYjfGRfcjIEhJ3oENGFX2MsT %2B5hlWgA5TwyLZHplQL1jfHsqj6LHc3MLRhDMx4%2FvHPVfmhxEwXukD%2BDbHH6JIzW8buEegYHk6YKc8bAw%3D%3D 。状态:[400:EntityTooLarge您的建议上传文件大于Policy Document中指定的最大对象大小。Content-length超过范围上限]
我无法理解这条消息的含义。
希望能得到帮助。谢谢。