I’m trying to set up an action in my MAKE custom app where I can include an optional selfEncrypt JSON object for file encryption. The selfEncrypt object contains fields for Algorithm, Key, and IV. However, I’m facing issues where the selfEncrypt value is either not mapping correctly or is invalid against my action mapping.
P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!
Anyways, the problem or root cause problem I have is that the parameter is stringified before reaching the module action, so that when the actual API request to my service goes it is double stringified which make my endpoint fail:
Really appreciate your suggestions! It seems however that I am still doing something wrong since even though i define it as a text in Mappable parameters (both direct as text or array with spec text), the content is beeing double escaped in the end (and one time from the scenario to the action module, before sending it to the primary api):
Do you know if it is possible to run custom javascript in the action module communication section (with focus on the parseJson at «annotations» just as an example)?