Hello!

I'm using the Provisioning API to add / retrieve / remove users from a 
Google Apps group (via direct HTTP calls). Problem is, I can't retrieve an 
email address containing a plus sign without a GData error being thrown.

Example request:

> GET 
> /a/feeds/group/2.0/example.com/test-group/member/*[email protected] 
> HTTP/1.1*
> Content-Type: application/atom+xml
> Authorization: GoogleLogin Auth=<authkey>

 
and what I get back is a 

> HTTP/1.1 400 Bad Request

 

<?xml version="1.0" encoding="UTF-8"?>
> <AppsForYourDomainErrors>
>   <error errorCode="1303" invalidInput="*example [email protected]*" 
> reason="EntityNameNotValid" />
> </AppsForYourDomainErrors> 


HTTP is translating the plus to a space (as it is supposed to). I've tried 
URL-encoding the plus, but get the same EntityNameNotValid error. The API 
seems to not accept any url-encoded parameters, as it will fail if I encode 
the @ sign in any valid address.

Is any way to force the API to use url-encoded paramaters, or achieve the 
same request using a POST body?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-apps-mgmt-apis/-/wJDgj9Y_udMJ.
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