developerforce / Force.com-JavaScript-REST-Toolkit

ForceTK - a minimal Force.com REST API for JavaScript apps
BSD 3-Clause "New" or "Revised" License
315 stars 175 forks source link

Aura Error: Unsupported MIME type #98

Open tanwanimanisha opened 5 years ago

tanwanimanisha commented 5 years ago

Details: I am trying to create a Content-Version record and the file type is xlsx. I am passing blob and type is application/octet-stream which is whitelisted. And I am using in lightning component v40.0 where locker service is enabled. Issue: Error message Unsupported MIME type on line 282(used forcetk.js file).