Python 谷歌应用引擎:上传返回404
我试图通过谷歌应用程序引擎bulkload上传数据,但我得到了这个错误Python 谷歌应用引擎:上传返回404,python,google-app-engine,Python,Google App Engine,我试图通过谷歌应用程序引擎bulkload上传数据,但我得到了这个错误 08:51 PM Uploading data records. [INFO ] Logging to bulkloader-log-20140425.205147 [INFO ] Throttling transfers: [INFO ] Bandwidth: 250000 bytes/second [INFO ] HTTP connections: 8/second [INFO ] Enti
08:51 PM Uploading data records.
[INFO ] Logging to bulkloader-log-20140425.205147
[INFO ] Throttling transfers:
[INFO ] Bandwidth: 250000 bytes/second
[INFO ] HTTP connections: 8/second
[INFO ] Entities inserted/fetched/modified: 20/second
[INFO ] Batch Size: 10
Error 404: --- begin server output ---
404 Not Found
The resource could not be found.
--- end server output ---
FINISHED
有你的问题,然后URL是不正确的。默认情况下,它应该是
--url=http://<correctAppID>.appspot.com/_ah/remote_api
--url=http://.appspot.com/_ah/remote_api
您是否在app.yaml的内置部分启用了远程api?是的,我像内置一样启用了远程api:-remote\u api:onWell这给您留下了两种可能性,要么您使用了错误的appid,要么明确指定了不正确的URL,要么您搞错了。您是否检查过是否可以使用remote_api_shell,两者都依赖于可访问的/_ah/remote_api。获得404的唯一方法是上述场景之一。什么是您的命令行upload\u data--config\u file=--filename=--url=http://.appspot.com/remote_apiThere 如果是您的问题,那么URL是不正确的。默认情况下,它应该是--url=http://.appspot.com/_ah/remote_api