Currently, the built-in task for CW PSA "Download Document" only supports documents whose contents can be parsed as text. Non-text attachments (PDFs, images, etc.) cause the task to fail with a message regarding InvalidCharsetDetected. There are other similar tasks in other integrations that have the same issue - it seems like anytime an endpoint returns non-text content, Rewst throws an error.
Moving non-text content between systems is going to become more and more common as we increase the use of AI to process various tasks (in my case, I wanted OpenAI to inspect a PDF that originated in CW). I don't need Rewst to do anything with the file beyond take it from one system and put it into another, and the file itself is smaller than the return value of some API calls, so it's not a lot of data. I'd love to see a "return content as base64 string" flag on the "Download Document" task in CW PSA, BambooHR, and others.
This issue is something a number of folks have run into: