Hi Jeff, According to this (http://groups.google.com/group/google-appengine- java/browse_thread/thread/8d61f5f3557cf480/67714225354b72d1? lnk=gst&q=max+url+size#67714225354b72d1) it's 2072.
regards didier On Mar 8, 1:26 am, Jeff Schnitzer <j...@infohazard.org> wrote: > Is there an undocumented limit on the length of a URL that can be > fetched using the URLFetch service? There is no mention of a limit in > this document, other than 1MB total for the request: > > http://code.google.com/appengine/docs/java/urlfetch/overview.html#Quo... > > I'm getting a MalformedURLException for a long URL in production, but > the same URL works in development mode. It works fine in my web > browser. Sure it's long, but it's considerably less than 1MB: > > Caused by: java.net.MalformedURLException: Invalid > URL:https://graph.facebook.com/?ids=112715298743415%2C113141485366719%2C1... > at > com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:106) > at > com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:41) > at > com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.fetchResponse(URLFetchServiceStreamHandler.java:418) > at > com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getInputStream(URLFetchServiceStreamHandler.java:297) > at > com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getResponseCode(URLFetchServiceStreamHandler.java:150) > at > com.googlecode.batchfb.FacebookBatcher.fetchGraph(FacebookBatcher.java:840) > ... 87 more > > Thanks, > Jeff -- 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.