Thanks for your response.

First, our most current version uses only https.  I included the
reference to http just for completeness.

Second, the users in question were not recently created, and in fact
were already loaded by the provisioning API.  Our application provides
fairly complete identity management and the provisioning API is the
foundation of that.  We do support setting profile information on
UserEntry objects, and we also support created Shared Contacts
directly via the Contacts API.

It is also important to note that the code in question has been
running in the affected customer environments for over 6 months
without modification.  That leads me to believe that something has
changed on the Google server side which has affected us.

- Richard


On Nov 3, 4:26 pm, Alain Vongsouvanh <[email protected]> wrote:
> Hello,
>
> About the https vs http, all of your API calls should use https (SSL).
>
> About the internal server error "cannot create entry", this can happen due
> to an inconsistent state the domain user "bob.dog" is in. It is possible
> that this user has not been properly created and is causing an issue with
> the Profiles API.
> What you can do is try retrieving the same user with the Provisioning
> API<http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_...>to
> make sure everything is in order. If the user has recently been
> created
> and doesn't have any data associated, you can try deleting and re-creating
> the account (which induce a 5 days delay...).
>
> Best,
> Alain
>
> On Wed, Nov 2, 2011 at 2:05 PM, Richard Matheson <[email protected]>wrote:
>
>
>
>
>
>
>
>
>
> > I have a program that manages users, groups and contacts in Google.
> >  Beginning Oct 21 we have had customers reporting that the program is
> > recieving an error when trying to retrieve a contact.
>
> > We create our Contact API connection as follows
>
> >   protected com.google.gdata.client.contacts.ContactsService
> > contactsService;
> > ...
> > ...
>
> >     contactsService = new ContactsService("appname");
> >     if (null != contactsService)
> >     {
> >     contactsService.setUserCredentials(adminEmail, adminPassword);
> >     }
>
> > The code that fails is basically as follows
>
> > *   java.net.URL entryURL = new java.net.URL("
> >https://www.google.com/m8/feeds/profiles/domain/myDomain/full/bob.dog);*
> > *
> > *
> > *   resultEntry = contactsService.getEntry(entryURL,
> > com.google.gdata.data.contacts.ContactEntry.class, (java.lang.String)null);
> > *
> > *
> > *
> > *
> > *
> > The call to getEntry returns the  following exception:
>
> > *Service Exception: com.google.gdata.util.ServiceException: Internal
> > Server Error*
> > *Invalid profile - cannot create entry*
>
> > What has changed on or around Oct 21 that would break this codepath?  Oh,
> > also note that one of our customers is running a version of the code that
> > uses a URL that is http and not https.  Both were working until 10/21.
>
> > Please provide guidance as we have customers who are not able to run this
> > application.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html
>
> --
> Alain Vongsouvanh | Developer Programs Engineer

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html

Reply via email to