HsnMustafa / gdocbackup

Automatically exported from code.google.com/p/gdocbackup
0 stars 0 forks source link

Unable to download PDF files, always getting 403 Forbidden #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
0. Using ClientLogin to authenticate
1. Somehow obtain a DocumentListEntry of a PDF file
2. Content URI is of the form 
https://doc-0c-54-docs.googleusercontent.com/docs/secure/...?h=...&e=download&gd
=true
3. Try to download the PDF using the sample shown in the Java Language Guide

What is the expected output? What do you see instead?
Expected would be the PDF, What I'm seeing is this:
com.google.gdata.util.ServiceForbiddenException: OK
<HTML>
<HEAD>
<TITLE>Forbidden</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Forbidden</H1>
<H2>Error 403</H2>
</BODY>
</HTML>

What version of the product are you using? On what operating system?
I'm using the GData Java API 1.41.3 on AppEngine

Please provide any additional information below.
If necessary I can provider sample code. I'm certain the code used to work, and 
this issue only appeared recently. I can't say for sure when, but I believe 
it's somewhere in the last few days.

Original issue reported on code.google.com by peter.ba...@gmail.com on 12 Dec 2010 at 10:27

GoogleCodeExporter commented 9 years ago
@peter, 
GDocBackup is not the official Google Docs API Lib.
The issue is not related to GDocBackup.
AFAIK currently there are issues on Google servers:
https://groups.google.com/d/topic/google-documents-list-api/9wJC8CTak7I/discussi
on

Yes, GDocBackup gets errors. But as I wrote the came from Google. 

Original comment by fht...@gmail.com on 12 Dec 2010 at 10:47

GoogleCodeExporter commented 9 years ago
Hi, you're absolutely right. Sorry for posting this in the wrong place and 
thanks for pointing me in a much better direction.

Original comment by peter.ba...@gmail.com on 13 Dec 2010 at 7:30