Three.js: "InvalidStateError: Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'arraybuffer')."

Created on 30 Dec 2018  路  8Comments  路  Source: mrdoob/three.js

Description of the problem

We're not using the 'arraybuffer' response type, so I'm assuming that this is from three. Unfortunately, I don't have a stacktrace, though.

Three.js version
  • [ ] Dev
  • [x] r99
  • [ ] ...
Browser
  • [ ] All of them
  • [X] Chrome _(71.0.3578)_
  • [ ] Firefox
  • [ ] Internet Explorer
OS
  • [ ] All of them
  • [ ] Windows
  • [x] macOS
  • [ ] Linux
  • [ ] Android
  • [ ] iOS
Hardware Requirements (graphics card, VR Device, ...)

Not sure.

All 8 comments

Feel free to discard and close if this is definitely not three. Apologies if mistaken, but there's so little information in some of these reports, I figured I'd at least mention it.

Hard to say without a way to reproduce this. If you can share a demo or some code that lets us reproduce the error we can probably help better.

Closing. We can reopen if the OP provide more information about the issue.

I'm getting the same issue when upgrading to 3.1.4, although on my machine (a Windows 10 laptop) it is complaining about the responseType being 'blob':

"Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'blob')"

If I revert back to 3.1.3, things work as expected. Cannot really figure out why this occurs.

Version 3.1.x of what? The threejs library is at 0.100.0 currently.

Ohw wow...my mistake. I get this when running Cypress. Seems like this has to do with some other package than.

Please, let us know what package is it when you figure it out.

Saw the exact same problem with Cypress Js v 3.1.4. Upgraded to version 3.1.5 and the problem went away.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

scrubs picture scrubs  路  3Comments

makc picture makc  路  3Comments

Horray picture Horray  路  3Comments

clawconduce picture clawconduce  路  3Comments

Bandit picture Bandit  路  3Comments