Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to handle accented characters

Vinee
Tera Contributor

I have a REST Api configured that makes a POST call to create data in an external system.

I have a string field which is being sent in the request body in this API.

The string sometimes contains umlauts or accented characters('ü', 'ä', 'ö') and as a result the API call fails.

Is there a way to handle this ? I don't want to remove it or replace it with something. I want to send the string without its content being altered.

Error i receive is: 

JSON parse error problem: Invalid CommonText200
The string i used was ABCüDEF
1 REPLY 1

PallaviPandey
Tera Contributor

Hi, is this issue is resolved ? I am also facing same issue.