Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Get user with space in username

api

Hello

I'm using Java version of Web services SDK and i have problem getting user details for user with space in his username

When i execute request like /api/users.ashx/users/username/some%20name

i get UserEN object that represents anonymous user with no data

When i execute /api/users.ashx/users/username/some+name

i get FileNotFound exception, which sounds like 404 error code from server (nothing entries in gemini logs)

Please advise.

ShL77
· 1
ShL77
Replies (1)
helpful
0
not helpful
ANSWER

You should replace space with %20 as you did. If the user is not found it will return the anonymous one (user id= -1).

Seems like the username you are looking for does not exist. Note this will look for the username (used to log in).


Saar Cohen
· 5000
Saar Cohen