Hi Ania,
  It sounds like you are trying to use the token returned by
createChannel as the client id.  Instead you should pass that token to
the client, the client should use that token to open the channel.  You
should instead use the same string that you originally passed to
createChannel.

  You might want to review the docs, the terms can be a little confusing.
    
http://code.google.com/appengine/docs/java/channel/overview.html#Elements_of_the_Channel_API
    
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/channel/ChannelService.html



Robert






On Wed, Apr 6, 2011 at 19:03, Ania <[email protected]> wrote:
> Hi,
> I'm trying to send message between users using Channel API.I'm getting a
> following error:
>
> java.lang.IllegalArgumentException: Invalid client ID. The clientid must be
> fewer than 64 bytes when encoded to UTF-8.
>
> Client ID I'm passing is the one generated by ChannelServiceFactory. Does
> anybody know what seems to be the problem here?
>
> Thanks for any help!
>
> Ania
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" 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-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en.

Reply via email to