com.google.appengine.tools.admin.HttpIoException: Error posting to URL , 400 Bad Request

google-app-engine, java, netbeans

Solution

The `<application></application>` tag is empty.

How should AppEngine know where to put your application without that?

You have to insert an application ID in there that you previously registered on http://appengine.google.com.

Problem

When click the netbeans project to `Deploy to Google App Engine` these are the messages shown on the Google App Deployment console : ``` May 28, 2012 4:22:06 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed /home/non-admin/NetBeansProjects/Guestbook/build/web/WEB-INF/appengine-web.xml May 28, 2012 4:22:06 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed /home/non-admin/NetBeansProjects/Guestbook/build/web/WEB-INF/web.xml Beginning server interaction for ... Password for suhailgupta03@gmail.com: com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=&version=1& 400 Bad Request app_id GET query string parameter must be supplied. Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=&version=1& 400 Bad Request app_id GET query string parameter must be supplied. Please see the logs [/tmp/appcfg5900452573644976629.log] for further information. ``` I don't know the reason why do i get this. Link for the /tmp/appcfg5900452573644976629.log What could be the reason ? I have checked that application has interacted successfully with google. i.e email and passwords match In case, appengine-web.xml ``` <?xml version="1.0" encoding="utf-8"?> <appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> <application></application> <version>1</version> <system-properties> <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/> </system-properties> <threadsafe>true</threadsafe> </appengine-web-app> ```

Original source