forgot to mention that i been using authsub session token since i am
integrating from webapp.

simplified version of code looks something like this

//i get acl feed from Document entry
        AclFeed aclFeed = getAclFeed(documentEntry)

        //this is loop that goes through list of emails, it will share
the first one and will fail with other request with 503 error on
spreadsheets
        listOfEmails.each {shared ->
            String sharedEmail = shared

            try {
                AclEntry newEntry = aclFeed.createEntry()
                newEntry.setRole(AclRole.WRITER)
                newEntry.setScope(new AclScope(AclScope.Type.USER,
sharedEmail))
                aclFeed.insert(newEntry)
            }
            catch (Exception ex) {
                log.error("unable to share with user", ex)
            }
        }

On Nov 25, 11:07 am, "Eric (Google)" <[EMAIL PROTECTED]> wrote:
> Hey alex,
>
> Sorry for the late reply.
>
> I wasn't able to reproduce this.  I tested with raw XML
> using the OAuth Playground:http://www.googlecodesamples.com/oauth_playground/
>
> Can you post a packet capture or code?
>
> Eric
>
> On Nov 21, 2:54 pm, alex <[EMAIL PROTECTED]> wrote:
>
> > I am trying to add multiple ACL entries and it works fine when i am
> > adding it to documents, but every time i try to add it to spreadsheet
> > it only adds 1 entry and fail on rest of them. Even if i try to
> > execute them in a loop which create new service and requests new acl
> > feed per each entry it still fails with
> > com.google.gdata.util.ServiceException: Service Unavailable (503 http
> > error).
> > This is also using latest Java Apis.
>
> > Any ideas what can be the issue?
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to