My Question: Are there data length limits in Make, and if yes are there ways to increase them or effectively work around them?
The larger context follows.
I have a scenario that includes the following steps:
- HTTP module to download a file, typically a PDF:
- Set Variable: takes the data returned from the HTTP module,
base64encodes it and creates a variable named
- Set Variable: takes the
base64encoded variable and inserts it into an XML structure, along with a couple of other values:
- Set Variable: takes the output of the previous module and inserts it into a SOAP envelope,
base64encoding it in the process:
- The resultant SOAP envelope is then used in another HTTP module to make a
POSTcall to a SOAP API endpoint.
The scenario works flawlessly as long as the
base64 string is of a modest length. However, for larger documents I’ve found that it is truncated, which invalidates the XML structure created at step 3 above. When this happens, I see the following in the Request Content of my final HTTP module input bundle:
Note that the
data is prefixed with
IMTString(2547618):. I’m not exactly sure what that means, but it seems to be some sort of indicator of the data length. If I examine the full payload I find that it is truncated, which means that neither the XML or SOAP envelope are properly formed, and of course the payload is rejected by the SOAP endpoint.
Any advice on what I can do to make this work for larger payloads?