Did you authenticate? I'm not sure where the Java SDK stores its cookies, but the Python version stores them in a file in your home directory called .appcfg_cookies. You might try deleting your .appcfg_cookies file then try deploying your app again.
Robert On Tue, Jan 11, 2011 at 23:24, Jeevan <jeevan.don...@gmail.com> wrote: > hello all, > I am uploading an sample application to google app engine, which > consists of Google mail api, > this is the error i am getting while updating to the google app > engine. > > java.io.IOException: Error posting to URL: > https://appengine.google.com/api/appversion/create?app_id=testingmpmail&version=1& > 401 Unauthorized > Must authenticate first. > > at > com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java: > 149) > at > com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java: > 82) > 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.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java: > 271) > at > com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java: > 146) > at > org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java: > 38) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.