Why is my zip file downloaded by REST call getting corrupted?

1
Hello, I have faced this issue on multiple mendix versions. I am trying to make a POST call and download the file. when I use Postman to do the same thing, it works fine. When I use the Microflow REST call and the download the file, it says that the FIle is invalid. What could be missing? Any ideas are highly appreciated.
asked
3 answers
0

He Saurabh,

I’ve come across files that were changed by a REST call from Mendix. The REST call added some extra information to the file which corrupted the file.

Can you check if the content of the file is still the same, retrieving it via Mendix and Postman?

answered
0

Hi Saurabh,

I have exactly the same issue. Did you log a ticket for this with Mendix?

answered
0

It runs indeed fine in the cloud but it seems that is not the differentiator for this issue. I just increased the REST log levels to TRACE in the cloud (on TEST) and then I also had the issue. Putting the log levels back to INFO resolved the issue.

answered