Hi Steve and Aaron,
    thanks for the inputs. After reviewing some of your feedback, I 
discovered I had to upgrade my Google apps account and change the oauth key 
and secret. Once I did upgraded my google apps account and used the 
key/secret from my unpublished marketplace app, my code worked locally from 
my desktop. So I was able to retrieve contacts. Now when I deploy my code to 
the server using the same code but running from a servlet, it fails again 
with the same error. The only change I made was the application name in: 
ContactsService service = new ContactsService(APPLICATION_NAME);

I am assuming the application name is irrelevant. Why would it work locally 
on my desktop (running in a standalone java app in eclipse) and stop working 
when I deploy to my server? Does google attach my consumer key to a server 
name? 

-- 
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