Base64 Decode

0
Hi I am facing an issue while trying to decode a Base64 attachment (Excel file containing data) using "Base64DecodeToFile" Java Action from Community Commons. The attachment is coming to Mendix via Web service. Though the attachment file is encoded in Base64 format and attached in the request, I get 'Source file is Null' error. com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.IllegalArgumentException: Source file is null Can you please tell me how to get rid of this error or suggest some new way to receive excel file via web service. Thanks
asked
1 answers
1

Hi Manasa,

Did you create a fresh document file and set that as the "targetFile" parameter? If not it will return this error.

Best,

Mitchel

answered