Open GoogleCodeExporter opened 9 years ago
Thank you for reporting this issue.
Could you please attach two sample files (one xml, one ods) that has this
issue. Or
is it for all xls and ods files?
Original comment by vbarat...@gmail.com
on 5 Feb 2009 at 1:14
Hi,
Thank you for your reactivuty.
Unfortunatelly, it seems it is for all .xls and .ods files. An I include in the
list
.csv files ( Bad Request Could not convert document.)
Regards
Original comment by kplab.to...@googlemail.com
on 5 Feb 2009 at 4:31
Hi,
In fact, despite the error (thrown exception) the .xls are correctly uploaded.
On the other hand, the .ods and .csv are not.
Regards,
Original comment by kplab.to...@googlemail.com
on 5 Feb 2009 at 4:54
I have exactly the same problem using:
OS: Linux 2.6.25 SMP x86_64
Java: 1.6.0_12-ea (64 bits)
Gdata-client: 1.29.0
I tried uploading an Excel sheet created by Apache POI and one created by Open
Office
Calc. Both resulted in the exception mentioned in the original bugreport.
Uploading
odt (Open Office Writer) files works fine. I used "application/vnd.ms-excel" as
the
mime-type for the Excel sheets.
Original comment by t.salfis...@gmail.com
on 6 Feb 2009 at 2:15
I've come across a similar problem before and now getting this one. First came
across
this problem.
http://code.google.com/p/gdata-issues/issues/detail?id=897&q=API:DocumentsList&c
olspec=API%20ID%20Type%20Status%20Priority%20Stars%20Summary
I noticed that the document has been created though. Problem occurred uploading
a
blank csv file or populated csv exporting data from our app. Mime type set to
"text/csv".
Way we get around it is:
catch (ServiceException se) {
if (se.getMessage().equalsIgnoreCase("service unavailable") ||
se.getMessage().equalsIgnoreCase("internal server error")) {
// Try and find the document based upon document title.
DocumentListEntry document = findDocument(docTitle);
findDocument:
DocumentQuery documentQuery = new DocumentQuery(documentListFeedUrl);
documentQuery.setTitleQuery(documentName);
documentQuery.setTitleExact(true);
// Get current date in dd/mm/yyyy format
String today = ConversionHelper.calendarToString(Calendar.getInstance());
documentQuery.setUpdatedMin(DateTime.parseDateTime(formatDate(today) +
"T00:00:00"));
documentQuery.setUpdatedMax(DateTime.parseDateTime(formatDate(today) +
"T23:59:59"));
DocumentListFeed feed = docsService.query(documentQuery,
DocumentListFeed.class);
Hope this helps.
Original comment by stephen....@gmail.com
on 9 Feb 2009 at 2:10
FYI: We are investigating this issue.
(internal bug tracker id: 1641954)
Original comment by vbarat...@gmail.com
on 10 Feb 2009 at 3:29
I'm seeing very similar bad behavior.
Original comment by johnbray...@gmail.com
on 7 Jun 2009 at 2:21
My behavior is very strange: yesterday i uploaded an .xls file to google docs
(via
web UI), i checked if conversion was successful (and it was!) and then i
started to
develop my gdata-java-client powered app.
Now, re-uploading the same file via the application i get :
Caused by: com.google.gdata.util.InvalidEntryException: Could not convert
document.
<errors xmlns='http://schemas.google.com/g/2005'>
<error>
<domain>GData</domain>
<code>InvalidEntryException</code>
<internalReason>Could not convert document.</internalReason>
</error>
</errors>
at
com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataReque
st.java:590)
but the thing more strange is that if now i try to re-upload the same file that
i
uploaded successfully yesterday i get:
(Sorry, there was an error saving the file. Please try again.)
i Hope in a temporary bug.
Original comment by garr.com...@gmail.com
on 4 Jun 2010 at 3:16
Hi,
I have the same issue with uploading file with Google Apps:
Could not convert document.
<errors
xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>Inva
lidEntryException</code><internalReason>Could not convert
document.</internalReason></error></errors>
Could you provide eny information about this issue.
Thanks
Original comment by taras...@gmail.com
on 27 Jan 2011 at 10:38
I need to make a feed using the standard feed you tube but for categories like
science and technology but when I do that the following error appears. Do not
know if it's how I'm passing the parameter category
Invalid id
<errors
xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>Inva
lidRequestUriException</code><internalReason>Invalid
id</internalReason></error></errors>
Original comment by jhonatha...@gmail.com
on 17 Oct 2012 at 4:27
Original issue reported on code.google.com by
kplab.to...@googlemail.com
on 5 Feb 2009 at 10:18