Depending on applicable regulations or business limitations, specific API requests may not be available for your use.

Error Code

In most cases, when we return validation errors, the HTTP response status code will be 400 Bad Request.

There are two types of validation error responses, which are available in many cases: VALIDATION_RULE and VALIDATION_FIELD. Responses are self-explanatory, for example:
[{"type":"VALIDATION_FIELD","field":"reasonForTrade","errorCode":"invalid.length"}]
[{"type":"VALIDATION_RULE", "errorCode":"member.unique.login.id"}]

Common HTTP status codes can be found here: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes

Common Error Code

Code Description
must.be.null
cannot.be.null
invalid.length
cannot.be.blank
cannot.be.whitespace.only
whitespace.not.allowed
cannot.be.empty
allows.only.digits
allows.only.digits.letters
allows.only.digits.letters.spaces
invalid.character
invalid.date
invalid.citizenship
invalid.zipcode
invalid.ssn
invalid.choice
invalid.statecode
invalid.percentage.value
cannot.be.negative
less.than.minimum.value
loginid.not.found

Getting Started

REST APIs

Resources