I only managed to reproduce error when in Json payload there would be contentTypes attribute "Value" without charset=UTF-8
"contentType": {
"Type": "String",
"Value": "application/json;"
}, To fix it old ISO-8859-1 was replaced with StandardCharsets.UTF_8.name() .
:bulb: Motivation and Context
Fixing #645 .
:green_heart: How did you test it?
:pencil: Checklist
[x] I reviewed submitted code
[x] I added tests to verify changes
[ ] I updated reference documentation to reflect the change
:loudspeaker: Type of change
:scroll: Description
I only managed to reproduce error when in Json payload there would be contentTypes attribute "Value" without charset=UTF-8 "contentType": { "Type": "String", "Value": "application/json;" }, To fix it old ISO-8859-1 was replaced with StandardCharsets.UTF_8.name() .
:bulb: Motivation and Context
Fixing #645 .
:green_heart: How did you test it?
:pencil: Checklist
:crystal_ball: Next steps