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.

Error in flow designer for unexpected character

JPSS
Tera Contributor

I

 

have a reference field deaprtment having the below value Unit  Ground Floor,"C" Block,

 

I used Submit Catalog Item Request and try to create a ticket but it shows below error 

Caused by: Unexpected character (C) at position 3701.

 

Please help

2 REPLIES 2

Sumanth16
Kilo Patron

Hi @JPSS ,

 

Please post the screenshot of your configuration.

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

Amit Pandey
Kilo Sage

Hi @JPSS 

 

I think the correct format would be-

 

{
  "department": "Unit Ground Floor, \"C\" Block,"
}

 

Please check if it works. Then you can stringify as below-

 

var departmentValue = 'Unit Ground Floor, "C" Block,';
var payload = {
  "department": JSON.stringify(departmentValue)
};

 

Regards,

Amit