Not able to download excel data from server

I am trying to download the data from an API, which is sending the data content-type as application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, the file gets corrupted not able to open…if I change the name to csv of same file then I can see the binary data…

When I hit the request from postman and save the response…the file gets open without any issue…

Hi there!!! Sorry you’re facing this issue.
When you can you share a screenshot of what your download function call looks like for application/vnd.openxmlformats-officedocument.spreadsheetml.sheet file type?

image
@pranav

when i save the response from postman the data file is 183kb…
but when i download the file from appsmith it reduced to 172kb

Hi! Can you share a screenshot of the response returned by the bankStatementDownloadAPI API?