Integration that gets a document that's in base64

Hello,

I'm calling a Google Gmail API to get the attachments of an email, with an Integration. The attachment comes in a form of a base64 document inside the body:

"body": {
    "size": 1111,
    "data": "base64_document_here"
}

I tried to get an attachment with 12KB (around 12k characters) and it works great...

until I use the "Convert base64 values to Appian documents" checkbox:

I've also tried to get a smaller attachment and it seems to be working just fine:

I think it may have to do with Appian trying to convert the JSON into a CDT first, which looks like it's limiting the size to 4000 characters, and then decoding the base64, but I'm not sure.

Has anyone ever had this problem before?

  Discussion posts and replies are publicly visible