Asana error - email parser

SDC

Member
Your Task History ID
IjU3NjYwNTY4MDYzMTA0Mzc1MjZkNTUzMDUxMzQi_pc
I'm using the Pabbly email parser to create a new task in Asana. Only 5% of the automations are working if only a very basic email is sent, then the task is created. But most are being rejected and the task is not running and the errors are showing - xml_parsing_error and XML is invalid.

I thought it was maybe because some emails had an attachment - but with or without attachments, the errors continue.

1. Can someone advise how I fix this xml_parsing_error and XML is invalid?
2. How do we get an attachment from an email into the asana task?
 

Preeti Paryani

Well-known member
Staff member
Hello @SDC,

Upon reviewing your workflow, we found that the response captured from the Email Parser contains hyperlinks enclosed within angled brackets (< >). This causes the content to be interpreted as XML instead of plain text, which is triggering the xml_parsing_error and the "XML is invalid" message.

To resolve this, please ensure that only plain text is passed in the relevant field. You can use the Text Formatter in Pabbly Connect to clean and structure the email body accordingly.

Regarding attachments:
You will receive email attachments as shown in the attached image, and you can map the file URLs further in your workflow as required. However, please note that the "Asana: Create a Task" action currently does not support a dedicated field for attachments.
 
Top