Can you provide an HTTP log between your proxy server and the API? A BAD REQUEST usually points to a malformed URL or HTTP message body. It could also be an encoding problem with your image.
On Sep 20, 10:54 pm, Notorious <[email protected]> wrote: > Hi, > I am trying to develop a J2ME application which will let me upload > photos to the Picasa Web Albums. I am using the Java client library on > the Apache Tomcat server for testing purposes.I am sending the image > selected from the Sun Java ME emulator to a servlet running on Tomcat > and that servlet in turn is supposed to upload it ti Picasa. Problem > is that using the servlet i am able to access all my albums and > photos, but i am not able to upload the image. I am sending the image > over as an array of integers which is then converted to an array of > bytes(in the servlet), which is then passed as a parameter to the > insert method. > It gives me a SERVICE EXCEPTION and the stack trace only prints "Bad > Request". Can anyone pls help me with the same? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" 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-picasa-data-api?hl=en -~----------~----~----~----~------~----~------~--~---
