Hello all.

I am trying to set starred status on a few PDFs through the 3.0 API and 
am having a few PDF documents consistently returning a 503 error.  I see 
this behavior with almost all of the PDFs I have that are shared to me 
from another user (though not always the same user).  I have only one 
PDF from another user for which I am able to set starred status through 
the API.  All of my own (owned) PDFs I can star without problem through 
the API.  I can set starred status through the google web UI.

Sample input / output below.  Ideas?

Cheers,
Jonathan Saggau

request: PUT URL: 
https://docs.google.com/feeds/default/private/expandAcl/pdf%3A0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx

request headers (7)

{
     Accept = "application/atom+xml, text/xml";
     Authorization = "GoogleLogin auth=BIGLONGVALIDAUTHTOKEN";
     "Cache-Control" = "no-cache";
     "Content-Type" = "application/atom+xml; charset=utf-8";
     "Gdata-Version" = "3.0";
     "If-Match" = "\"EBACExdKGyt7ImBq\"";
     "User-Agent" = "com.someCompany.someApp.betaDev1 
GData-ObjectiveC/1.8 iPhone_Simulator/3.0 (gzip)";
}

posted data (4329 bytes)
<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns:gd="http://schemas.google.com/g/2005"; 
xmlns:docs="http://schemas.google.com/docs/2007"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; 
xmlns="http://www.w3.org/2005/Atom"; 
gd:etag=""EBACExdKGyt7ImBq""><gd:lastModifiedBy><name>REDACTED</name><email>redac...@gmail.com</email></gd:lastModifiedBy><link
 
rel="alternate" 
href="https://docs.google.com/fileview?id=0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx&hl=en";
 
type="text/html"/><link rel="self" 
href="https://docs.google.com/feeds/default/private/expandAcl/pdf%3A0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx";
 
type="application/atom+xml"/><category 
term="http://schemas.google.com/docs/2007#pdf"; label="pdf" 
scheme="http://schemas.google.com/g/2005#kind"/><category 
term="http://schemas.google.com/g/2005/labels#starred"; label="starred" 
scheme="http://schemas.google.com/g/2005/labels"/><docs:writersCanInvite 
value="false"/><id>https://docs.google.com/feeds/id/pdf%3A0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx</id><author><name>REDACTED</name><email>redac...@gmail.com</email></author><gd:resourceId>pdf:0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx</gd:resourceId><updated>2009-08-09T21:20:19.591Z</updated><published>2009-08-03T13:40:23.853Z</published><app:edited
 
xmlns:app="http://www.w3.org/2007/app";>2009-08-09T21:20:19.593Z</app:edited><title>Level
 
6_ Games and Art « Game Design 
Concepts.pdf</title><gd:quotaBytesUsed>227130</gd:quotaBytesUsed><gd:feedLink 
rel="http://schemas.google.com/acl/2007#accessControlList"; 
href="https://docs.google.com/feeds/default/private/expandAcl/pdf%3A0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx/acl";><feed
 
xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/"; 
gd:etag="W/"DEEMQX4ycCt7ImA9WxNbEEs.""><openSearch:totalResults>1</openSearch:totalResults><link
 
rel="http://schemas.google.com/g/2005#feed"; 
href="https://docs.google.com/feeds/default/private/expandAcl/pdf%3A0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx/acl";
 
type="application/atom+xml"/><link 
rel="http://schemas.google.com/g/2005#post"; 
href="https://docs.google.com/feeds/default/private/expandAcl/pdf%3A0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx/acl";
 
type="application/atom+xml"/><link 
rel="http://schemas.google.com/g/2005#batch"; 
href="https://docs.google.com/feeds/default/private/expandAcl/pdf%3A0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx/acl/batch";
 
type="application/atom+xml"/><category 
term="http://schemas.google.com/acl/2007#accessRule"; 
scheme="http://schemas.google.com/g/2005#kind"/><id>https://docs.google.com/feeds/default/private/expandAcl/pdf%3A0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx/acl</id><updated>2009-11-12T22:58:00.098Z</updated><title>Document
 
Permissions</title><entry gd:etag="W/"DEEMQX4ycCt7ImA9WxNbEEs.""><link 
rel="self" 
href="https://docs.google.com/feeds/default/private/expandAcl/pdf%3A0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx/acl/user%3AREDACTED%40gmail.com";
 
type="application/atom+xml"/><link rel="edit" 
href="https://docs.google.com/feeds/default/private/expandAcl/pdf%3A0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx/acl/user%3AREDACTED%40gmail.com";
 
type="application/atom+xml"/><category 
term="http://schemas.google.com/acl/2007#accessRule"; 
scheme="http://schemas.google.com/g/2005#kind"/><id>https://docs.google.com/feeds/id/pdf%3A0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx/acl/user%3AREDACTED%40gmail.com</id><app:edited
 
xmlns:app="http://purl.org/atom/app#";>2009-11-12T22:58:00.098Z</app:edited><gAcl:scope
 
xmlns:gAcl="http://schemas.google.com/acl/2007"; 
value="redac...@gmail.com" 
type="user"/><updated>2009-11-12T22:58:00.098Z</updated><title>Document 
Permission - redac...@gmail.com</title><gAcl:role 
xmlns:gAcl="http://schemas.google.com/acl/2007"; 
value="owner"/></entry></feed></gd:feedLink><content 
src="https://doc-08-3c-docs.googleusercontent.com/docs/secure/gd1g92urudgglmaun6eg45h5meqgr5mo/ocrt4k3g7s6dtvhk8p6n3hted09e1bpo/1258048800000/12295051943958772812/14484720276067243861/0B_O7x8huanZVZjcxMGRmODMtZDM3Yi00MmI0LThiMDktZmJjZGM1YTUwOTAx?h=16653014193614665626&e=download&gd=true";
 
type="application/pdf"/></entry>

response: status: 503    MIMEType: application/vnd.google.gdata.error+xml
<errors xmlns='http://schemas.google.com/g/2005'>
<error>
<domain>GData</domain>
<code>ServiceUnavailableException</code>
<internalReason>An unknown error has occurred.</internalReason>
</error>
</errors>


--

You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to google-docs-data-a...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-docs-data-apis?hl=.


Reply via email to