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 solve : "Bad control character in string literal in JSON" ?

User205031
Tera Contributor

Hi All,

 

I am trying to pass rejection comments through JSON once the RITM state is rejected.

The JSON payload is :

User205031_0-1762238681792.png

But I am getting the below error in the response body:

 

User205031_1-1762238714559.png

 

How can I solve this issue?

Thanks in advance!

10 REPLIES 10

@User205031 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader