Hi All,

I'm trying to do an initial upload of my Java GAE app. I have set up
my app id and can successfull log in to the GAE console at
https://appengine.google.com however whenever I try to upload my app I
get the following error:

Unable to update:
java.io.IOException: Error posting to URL:
https://appengine.google.com/api/appversion/create?app_id=stretchrxapi&version=1&;
403 Forbidden
You do not have permission to modify this app
(app_id=u'stretchrxapi').

        at
com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:
153)
        at
com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java:
86)
        at
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:
582)
        at
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:
400)
        at
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:
112)
        at
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
56)
        at com.google.appengine.tools.admin.AppCfg
$UpdateAction.execute(AppCfg.java:553)
        at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:141)
        at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:63)
        at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:59)
com.google.appengine.tools.admin.AdminException: Unable to update app:
Error posting to URL: 
https://appengine.google.com/api/appversion/create?app_id=stretchrxapi&version=1&;
403 Forbidden
You do not have permission to modify this app
(app_id=u'stretchrxapi').

        at
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
62)
        at com.google.appengine.tools.admin.AppCfg
$UpdateAction.execute(AppCfg.java:553)
        at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:141)
        at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:63)
        at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:59)
Caused by: java.io.IOException: Error posting to URL:
https://appengine.google.com/api/appversion/create?app_id=stretchrxapi&version=1&;
403 Forbidden
You do not have permission to modify this app
(app_id=u'stretchrxapi').

        at
com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:
153)
        at
com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java:
86)
        at
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:
582)
        at
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:
400)
        at
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:
112)
        at
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
56)
        ... 4 more

I'm not sure if it's a red herring or not (currently assuming it is)
but I also see the following in the console when I try to upload:

Error Details:
08-Mar-2011 14:46:41 org.apache.jasper.JspC processFile
INFO: Built File: \WEB-INF\views\delete.jsp
08-Mar-2011 14:46:42 org.apache.jasper.JspC processFile
INFO: Built File: \WEB-INF\views\error.jsp
08-Mar-2011 14:46:43 org.apache.jasper.JspC processFile
INFO: Built File: \WEB-INF\views\get-single-entity.jsp
08-Mar-2011 14:46:45 org.apache.jasper.JspC processFile
INFO: Built File: \WEB-INF\views\post.jsp
08-Mar-2011 14:46:46 org.apache.jasper.JspC processFile
INFO: Built File: \WEB-INF\views\put.jsp
08-Mar-2011 14:46:47 org.apache.jasper.JspC processFile
INFO: Built File: \WEB-INF\views\resource-as-json-object.jsp

And thirdly - I have noted that on occasion I get an error 500
internal server error when trying to connect to the GAE console
(https://appengine.google.com) - could this be something to do with
the issue I'm seeing?

I'm using app engine SDK version 1.4.2 and my upload command is as
follows:

C:\development\stsworkspace\xapi\webapp>C:\Program_Files\Programming
\Java\SpringSource\sts-2.5.0.RELEASE\plugins
\com.google.appengine.eclipse.sdkbundle.
1.4.2_1.4.2.v201102111811\appengine-java-sdk-1.4.2\bin\appcfg.cmd --
proxy=10.140.192.37:8080 --proxy_https=10.140.192.37:8080 --
[email protected] --passin update target\webapp-0.1.0.BUILD-
SNAPSHOT

My appengine-web.xml is as follows:

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0";>
    <application>stretchraxpi</application>
    <version>1</version>
    <sessions-enabled>false</sessions-enabled>
    <ssl-enabled>false</ssl-enabled>
    <precompilation-enabled>true</precompilation-enabled>
    <warmup-requests-enabled>true</warmup-requests-enabled>
</appengine-web-app>

Hopefully I've provided all the necessary information here, I realise
that there are plenty of 403 related posts out there but none of them
seemed to answer my specific issue hence posting this one.

Any one got any ideas what could be going wrong here?

Cheers,

Edd

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
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-java?hl=en.

Reply via email to