Same issue here. 

I've download photo-sharing-demo app from tutorial section but still 
getting this error every tyme I try to upload it to my App Engine account. 
This happens also with a simple Hello World application. None of them allow 
uploading and throw Error 400.

Here's the ouput:

Unable to update:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: 
https://appengine.google.com/api/appversion/create?app_id=x2-tokyo-carving-k&version=1&;
400 Bad Request
Invalid runtime or the current user is not authorized to use it.

at 
com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:293)
at 
com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:253)
at 
com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:232)
at 
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:644)
at 
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:449)
at 
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:124)
at 
com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:371)
at 
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:53)
at 
com.google.appengine.tools.admin.AppCfg$UpdateAction.execute(AppCfg.java:1072)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:219)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:102)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:98)
com.google.appengine.tools.admin.AdminException: Unable to update app: 
Error posting to URL: 
https://appengine.google.com/api/appversion/create?app_id=x2-tokyo-carving-k&version=1&;
400 Bad Request
Invalid runtime or the current user is not authorized to use it.

at 
com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:376)
at 
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:53)
at 
com.google.appengine.tools.admin.AppCfg$UpdateAction.execute(AppCfg.java:1072)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:219)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:102)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:98)
Caused by: com.google.appengine.tools.admin.HttpIoException: Error posting 
to URL: 
https://appengine.google.com/api/appversion/create?app_id=x2-tokyo-carving-k&version=1&;
400 Bad Request
Invalid runtime or the current user is not authorized to use it.

at 
com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:293)
at 
com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:253)
at 
com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:232)
at 
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:644)
at 
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:449)
at 
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:124)
at 
com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:371)
... 5 more


El lunes, 31 de diciembre de 2012 15:20:34 UTC+1, Akshay Pakanati escribió:
>
> thank you for replying..
> here is my appengine-web.xml
>
> <?xml version="1.0" encoding="utf-8"?>
> <appengine-web-app xmlns="http://appengine.google.com/ns/1.0";>
>   <application>cvsrportal</application>
>   <version>2</version>
>
>   <!--
>     Allows App Engine to send multiple requests to one instance in 
> parallel:
>   -->
>   <threadsafe>true</threadsafe>
>
>   <!-- Configure java.util.logging -->
>   <system-properties>
>     <property name="java.util.logging.config.file" 
> value="WEB-INF/logging.properties"/>
>   </system-properties>
>
>   <!--
>     HTTP Sessions are disabled by default. To enable HTTP sessions specify:
>
>       <sessions-enabled>true</sessions-enabled>
>
>     It's possible to reduce request latency by configuring your 
> application to
>     asynchronously write HTTP session data to the datastore:
>
>       <async-session-persistence enabled="true" />
>
>     With this feature enabled, there is a very small chance your app will 
> see
>     stale session data. For details, see
>     
> http://code.google.com/appengine/docs/java/config/appconfig.html#Enabling_Sessions
>   -->
>     <sessions-enabled>true</sessions-enabled>
> </appengine-web-app>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/98s06m4XsWEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to