07-26-2019 01:55 AM
<xs:element name="latitude">
<xs:simpleType>
<xs:restriction base="xs:double">
<xs:minInclusive value="-90.0"/>
<xs:maxInclusive value="90.0"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
500
error code.500
to 400
.messages.properties
file but the only Error message was updated.08-01-2019 10:31 AM
Accept
header is required in the request. If the Accept
is missing Nuxeo validator throws 500 error.{
"entity-type": "exception",
"status": 500,
"message": "2 constraint violation(s) thrown. First one is: 'Value is required.', call DocumentValidationException.getViolations() to get the others"
}
Accept
header is present then validator returns following response{
"entity-type": "validation_report",
"has_error": true,
"number": 2,
"violations": [
{
"message": "Value is required.",
"invalid_value": null,
"constraint": {
"entity-type": "validation_constraint",
"name": "NotNullConstraint",
"parameters": {}
},
"path": [
{
"field_name": "sample_key1",
"is_list_item": false
}
]
},
{
"message": "Value is required.",
"invalid_value": null,
"constraint": {
"entity-type": "validation_constraint",
"name": "NotNullConstraint",
"parameters": {}
},
"path": [
{
"field_name": "sample_key2",
"is_list_item": false
}
]
}
]
}
08-01-2019 10:31 AM
Accept
header is required in the request. If the Accept
is missing Nuxeo validator throws 500 error.{
"entity-type": "exception",
"status": 500,
"message": "2 constraint violation(s) thrown. First one is: 'Value is required.', call DocumentValidationException.getViolations() to get the others"
}
Accept
header is present then validator returns following response{
"entity-type": "validation_report",
"has_error": true,
"number": 2,
"violations": [
{
"message": "Value is required.",
"invalid_value": null,
"constraint": {
"entity-type": "validation_constraint",
"name": "NotNullConstraint",
"parameters": {}
},
"path": [
{
"field_name": "sample_key1",
"is_list_item": false
}
]
},
{
"message": "Value is required.",
"invalid_value": null,
"constraint": {
"entity-type": "validation_constraint",
"name": "NotNullConstraint",
"parameters": {}
},
"path": [
{
"field_name": "sample_key2",
"is_list_item": false
}
]
}
]
}
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.