INVALID_CHARACTER_ERR flow error

ShAn21
Tera Guru

Hi Team,

I am unable to activate the flow because of below error.

INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.

Can someone let us know what exactly we need to check to get this issue resolved?

 

Thanks

7 REPLIES 7

@ShAn21 - Is it possible to share screenshot of flow which you have designed. Also, while standard actions been called is it updating data with some static value? Or the flow/subflow being called does it required input parameters in format and you are not passing it properly?

PritamG
Mega Guru

the INVALID_CHARACTER_ERR in flow designer is usually caused by invalid XML characters in the flow's data.

steps to fix:

  1. check input variables: ensure there are no special or hidden characters in the variables used in actions.
  2. review data pills: remove and re-add data pills, as they might contain corrupt data.
  3. check script actions: If using script actions, verify that the output does not contain invalid XML characters.
  4. validate JSON/XML format: If passing JSON/XML data, use string sanitization to remove illegal characters.
  5. check logs: look at system logs → flow designer → executions for more details.

Ankur Bawiskar
Tera Patron
Tera Patron

@ShAn21 

share your flow steps screenshots

Try adding the steps again after removing them 1 by 1.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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