Unparseable Recipient Attribute

Problem type

unparseable-recipient-attribute

Status code

400 Bad Request

Reasons

Indicates that a specified recipient attribute value could not be parsed.

Most likely, the data type of the specified recipient attribute is not compatible with the type of the specified value. For example, if the specified recipient attribute has the data type DATE_AND_TIME, you must provide an appropriately formatted datetime string, as described in the section Date/Time format and time zone.

Remedy

Provide a properly formatted value whose data type matches that of the specified recipient attribute. The expectedDataType field conveys the data type of the recipient attribute. If this data type is TEXT, the maxStringLength field contains the maximum number of characters the value may consist of.

Example problem document
HTTP/1.1 400 Bad Request
Content-Type: application/problem+json
Content-Disposition: inline;filename=f.txt
Content-Length: 408

{
  "type" : "unparseable-recipient-attribute",
  "title" : "a specified recipient attribute value can not be parsed",
  "detail" : "the value for recipient attribute 'salutation' could not be parsed",
  "expectedDataType" : "TEXT",
  "maxStringLength" : 10,
  "_links" : {
    "documentation" : {
      "href" : "https://apidocs.inxmail.com/xpro/rest/v1/problems/unparseable-recipient-attribute"
    }
  }
}