I've stripped off all metadata, still not able to upload. But, during one of my attempt to load an image from a file system, with metadata, it uploaded.
Deleting the image from Google Photos. So I'm getting like 1 out of 80 attempts to successes. And I'm refreshing my OAuth token before each upload, just to be safe. Running code again, produced the error: com.google.gdata.util.InvalidEntryException: Bad Request <HTML> <HEAD> <TITLE>Bad Request</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1>Bad Request</H1> <H2>Error 400</H2> </BODY> </HTML> at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:602) at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:564) at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:560) at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:538) at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:536) at com.google.gdata.client.media.MediaService.insert(MediaService.java:399) -- You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-picasa-data-api+unsubscr...@googlegroups.com. To post to this group, send email to google-picasa-data-api@googlegroups.com. Visit this group at https://groups.google.com/group/google-picasa-data-api. For more options, visit https://groups.google.com/d/optout.