Having trouble deploying new version - Error The request is invalid for an unspecified reason.

99 views
Skip to first unread message

Tim Hoffman

unread,
Aug 17, 2010, 11:23:07 PM8/17/10
to Google App Engine
Hi

Just trying to deploy a new version of my code base, and was able to
successfully deploy into a test instance I have.
When trying to deploy to my production instance I am repeatedly
getting the following error.


Deploying new version.
Rolling back the update.
Error 400: --- begin server output ---

Client Error (400)
The request is invalid for an unspecified reason.
--- end server output ---


Which unfortunately is not very informative. There is nothing in the
admin logs.

appid is q-tracker.

Thanks

Tim

Tim Hoffman

unread,
Aug 17, 2010, 11:53:06 PM8/17/10
to Google App Engine
Hi

Looks like the problem was with the error_handlers directive (new in
1.3.6)
I had used

error_handlers:
- file: static/default_error.html

Which also overlapped with a static file handler I had configured

- url: /static
static_dir: static
expiration: "30d"

Moving the static default handler to

error_handlers:
- file: default_error.html

Made the problem go away.

Ideally the deployment failure error should at least say "mis-
configured app.yaml" or something similar.

Regards

Tim

Julian Namaro

unread,
Sep 14, 2010, 4:19:44 AM9/14/10
to Google App Engine
Thanks Tim, I had the same problem today and your solution worked.

Maybe the documentation(http://code.google.com/appengine/docs/python/
config/appconfig.html#Custom_Error_Responses) should make it clear to
not put the custom page in a static folder.
Reply all
Reply to author
Forward
0 new messages