Handler needs to properly escape characters in the Status description, before sending it to the caller, in case of errors.
Ex.:
{ "error" : {"statusCode":400,"code":"ERR11004","message":"VALIDATOR_SCHEMA","description":"Schema Validation Error - $.match.core.person.demographics.dateOfBirth: does not match the date pattern ^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(0?[1-9]|[12][0-9]|3[01])$","severity":"ERROR"} }
Description, which is free-form, should escape the characters: note the \
{ "error" : {"statusCode":400,"code":"ERR11004","message":"VALIDATOR_SCHEMA","description":"Schema Validation Error - $.match.core.person.demographics.dateOfBirth: does not match the date pattern ^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(0?[1-9]|[12][0-9]|3[01])$","severity":"ERROR"} }
Handler needs to properly escape characters in the Status description, before sending it to the caller, in case of errors.
Ex.:$.match.core.person.demographics.dateOfBirth: does not match the date pattern ^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(0?[1-9]|[12][0-9]|3[01])$ ","severity":"ERROR"} }
{ "error" : {"statusCode":400,"code":"ERR11004","message":"VALIDATOR_SCHEMA","description":"Schema Validation Error -
Description, which is free-form, should escape the characters: note the \$.match.core.person.demographics.dateOfBirth: does not match the date pattern ^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-(0?[1-9]|[12][0-9]|3[01])$ ","severity":"ERROR"} }
{ "error" : {"statusCode":400,"code":"ERR11004","message":"VALIDATOR_SCHEMA","description":"Schema Validation Error -