Hi,

You can workaround with the following change in the library.

In the class AppsForYourDomainClient.java at
http://code.google.com/p/gdata-java-client/source/browse/trunk/java/sample/appsforyourdomain/AppsForYourDomainClient.java
,
you can see the method retrieveAllUserAliases() .

The URI is incorrectly given in the method as
https://apps-apis.google.com/a/feeds/user/2.0/*the domain name*/*user name*@
*domain.com*

It should be https://apps-apis.google.com/a/feeds/user/2.0/*the domain name*
?start=*the user name*@*domain.com*

You can get the method to work with this change. Hope that solves your
problem.
Again, am sorry for the inconvenience, that library is does not reflect the
recent change.

Thanks,
Shraddha Gupta
Developer Programs Engineer
Hyderabad, Google India.



On Sun, Nov 13, 2011 at 7:29 PM, Shraddha Gupta <[email protected]>wrote:

> Hello,
>
> You have rightly figured out there is a bug. The library has not been
> updated with the most recent changes. We are sorry for the inconvenience.
> I will update this thread when that change gets updated in the java
> library.
>
> Thanks,
> Shraddha Gupta
> Developer Programs Engineer
> Hyderabad, Google India.
>
>
>
> On Sat, Nov 12, 2011 at 3:51 AM, pctir <[email protected]> wrote:
>
>> Using Java multi domain calls trying to retrieve all aliases for a
>> user:
>>
>> client.retrieveAllUserAliases("user@somedomain")
>>
>> always returns AppsForYourDomainException: EntityDoesNotExist(1301):
>>
>> The user does exist - Is there a bug?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Apps Domain Information and Management 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-apps-mgmt-apis?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management 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-apps-mgmt-apis?hl=en.

Reply via email to