Cannot create task with angle bracket symbol like '>' in html_notes via API

Hey, when I’m posting new task using node Asana API and include this sign ‘>’ or this ‘]’ in html_notes field I’m always getting the following error: Error: Invalid Request (400), without any further description.

I didn’t find any information about deprecated symbols in description.
Thanks in advance.

Per the developer docs, it has to be valid XML. I think to include special characters like that you’ll need to escape them in order to conform to valid XML.

@Ross_Grambo is that correct?

1 Like

I confirm, you need to use > for example.

2 Likes

Double confirm. It has to be valid xml. You’ll need to escape ‘<’, ‘>’, and ‘&’. You do not have to escape ‘]’.

1 Like