Images AutoForm New User Woes


#1

I’m new and a little lost why I get Http Errors…

httpCall:

line 101 of httpCall

xhr.responseType = options.responseType;

responseType is not a property of options, - this throws an error.


#2

Do you have some code online where we can review?


#3

Also, consider using yogiben:autoform-file.


#4

The provided value ‘undefined’ is not a valid enum value of interface XMLHttpRequestResponseType. line number 101 of http-call-client.js

var convertToBinary;
if (options.responseType === "ejson-binary") {
  xhr.responseType = "arraybuffer";
  convertToBinary = true;
} else {
  xhr.responseType = options.responseType;
}

options has no property responseType but it has instead:

content: Uint8Array[1778367]
headers: Object
params: Object

I’m just using the meteor starter admin, and getting blocked with little to go on and I’m new at this.


#5

Seems to be an issue with: cfs:upload-http line number 101.


#6

Here’s the issue here: https://github.com/tinchoz49/DEPRECATING-cfs-upload-http/commit/89233c3910c73903e6bbda772ae388aed284b8c1


#7

Stuck on this one for hours and hours. how annoying for a beginner as well


#8

Thanks for following up on this issue @reduxdj :smiley: