[Bug]: Unable to download octet stream using the built-in download function #30285
Labels
Bug
Something isn't working
Community Reported
issues reported by community members
Framework Functions
Cases related to internal functions like showAlert(), navigateTo() etc...
High
This issue blocks a user from building or impacts a lot of users
Javascript Product
Issues related to users writing javascript in appsmith
Needs Triaging
Needs attention from maintainers to triage
Production
Query & JS Pod
Issues related to the query & JS Pod
Is there an existing issue for this?
Description
A users API returns an image as a binary octet stream. When you try downloading the stream with the following code snippet you get a corrupted file.
Here I've asked the user for a sample output from their API and uploaded that as a file to the Filepicker widget. You can find the sample in the attached Zendesk thread.
Steps To Reproduce
a. Note: Any octet stream should do. It doesn't have to be the users output.
Environment
Production
ZD Thread
Ticket 1295
Version
Cloud 1.9.59-SNAPSHOT
The text was updated successfully, but these errors were encountered: