简体   繁体   English

下载GAE源代码时出现400错误的请求错误

[英]400 Bad Request error while downloading GAE Source Code

I was getting 400 Bad Request error while trying to download the source code. 尝试下载源代码时出现400错误请求错误。

Please refer following screenshot of error for more details, 有关更多详细信息,请参考以下错误的屏幕截图,

在此处输入图片说明

I have used "appcfg -A [gulbrandsen-cpr] -V [version2] download_app [C:\\Vishal\\Live_CRP]" command. 我已使用"appcfg -A [gulbrandsen-cpr] -V [version2] download_app [C:\\Vishal\\Live_CRP]"命令。 Please guide me to rectify the given issue. 请指导我纠正给定的问题。

Thanks. 谢谢。

appcfg -A [gulbrandsen-cpr] -V [version2] download_app [C:\Vishal\Live_CRP]

The square brackets are usually used in manual pages for describing an option/attribute/parameter that is optional and is part of the manual notation that is not used when typing a command. 方括号通常在手册页中用于描述可选的选项/属性/参数,并且是键入命令时不使用的手册符号的一部分。 You will see them very often. 您会经常看到它们。

Here however <> symbols are used. 但是, 这里使用<>符号。 But if you look at gcloud command reference you can see something like this: 但是,如果您查看gcloud命令参考,您会看到类似以下内容:

gcloud app GROUP | COMMAND [GCLOUD_WIDE_FLAG …]

which means that any thing in category of GCLOUD_WIDE_FLAG is optional. 这意味着GCLOUD_WIDE_FLAG类别中的任何东西都是可选的。

You can read more about manpage notation here . 您可以在此处阅读有关手册页符号的更多信息。

发布答案以使社区受益:尝试删除参数周围的方括号[],并将其放在命令后,例如:appcfg.py download_app -A gulbrandsen-cpr -V version2 C:\\ Vishal \\ Live_CRP

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM