You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.
When I look at the code for the xhrUploader, it seems like the settingsFunction is called after the XMLHttpRequest is instantiated but before it is opened. Since the request is not open, I cannot set my header.
The text was updated successfully, but these errors were encountered:
Version: 2
I'm trying to upload to an API that requires an authorization header, similar to the strategy referenced in the documentation.
I define my uppload object like this:
I get the following error:
When I look at the code for the
xhrUploader
, it seems like thesettingsFunction
is called after the XMLHttpRequest is instantiated but before it is opened. Since the request is not open, I cannot set my header.The text was updated successfully, but these errors were encountered: