You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Custom Objects Fields Minimum Length

Accepted answer
edited Oct 29, 2011 4:54PM in Integrations and APIs 4 comments


Hi all,

I'm working with Connect for PHP and Custom Objects.

The Custom Object has 3 fields, namely reference, evidence and section_label. The section_label is the only required field, though the user cannot change this, it is automatically set when the Custom Object is created.

When I attempt to store a null value in either the reference or evidence fields, I receive the following error message:

Fatal error:  Uncaught exception 'RightNow\Connect\v1\ConnectAPIError' with message 'Min length not met: value 0 < 1 minimum length: Section(ID=180).evidence' in /cgi-bin/******.cfg/scripts/euf/application/development/source/controllers/ajaxCustom.php:49

This seems to suggest that there is a minimum length of 1 character for the evidence field, though I have selected 'Is Nullable' in the object designer. If I store a single character in the field, the error message does not appear. Further, when I update the evidence field through the RightNow console, an error is not displayed and the changes are saved without any trouble, which perhaps suggests that the problem is not what I imagine it to be.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!