Export to GitHub

gdocbackup - issue #38

Unable to download PDF files, always getting 403 Forbidden


Posted on Dec 12, 2010 by Grumpy Rhino

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.

Comment #1

Posted on Dec 12, 2010 by Grumpy Horse

@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/discussion

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

Comment #2

Posted on Dec 13, 2010 by Grumpy Rhino

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

Status: Invalid

Labels:
Type-Defect Priority-Medium