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

Error with Internet Explorer 11 - IE11 - "The parameter is incorrect" #89

Open 1amontana opened 8 years ago

1amontana commented 8 years ago

Hi, first amazing work with your Force.com - rest ToolKit !!!! , it works perfectly with all browser except Internet Explorer 11 (Actually I don't know with the previous versions).

I am using forcetk.Client.prototype.createBlob() and I will get an error in the "request.send(blob);" line , the error is "The paramater is incorrect".

Somebody could have the same issue? and some solution?

jperezq commented 7 years ago

I know it's been a while but I ran into this recently and finding a comment would've helped. Visualforce sometimes (does it in IE, not in other browsers) includes a Javascript library called Sarissa that replaces the browser's native XMLHttpRequest implementation. This is what worked for me: https://github.com/developerforce/Force.com-JavaScript-REST-Toolkit/pull/90