Open s7eph4n opened 3 years ago
@s7eph4n Please try to validate your xml file first. Try this online validator.
That's the thing. There is no XML sent by the original code as far as I can tell, instead payload
is posted as is.
https://github.com/dixudx/rtcclient/blob/6c91ff29/rtcclient/workitem.py#L809
rtcclient 0.7.0 RTC 6.0.6.1
When adding an attachment, the file is successfully uploaded, but when linking to the workitem the server complains about malformed XML.
To get it to work I fixed
_add_attachment_link
to use JSON: