sklava
11 years agoContributor
restAPI /authentication/sessions/login user.login: 15 characters in length
Trying to login from a EC2 instance using curl. I get this error:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<response status="error">
<error code="100">
<message>
user.login: This value must be shorter than 15 characters in length.
</message>
</error>
</response>
Yes the user name is longer than 15 characters. Not sure why a longer username is an issue?
curl:
curl -d "user.login=xxxx&user.password=xxxxx" http://community.xxxx.com/restapi/vc/authentication/sessions/login
Hi klava,
The "login" field in user object is default to 15 characters out-of-the-box. you may want to contact Lithium Support to increase the length limit for your community. (this feature is not avaiable via admin/studio yet).