Skip to content

Troubleshooting

Make sure to check the browser console

Common errors are cleanly reported with a 270 Degrees prefix.

My Viewer is not showing

  • Check the console to make sure the plugin is loaded correctly.
  • Check if your container has the correct class. This should be either .js-270viewer (implicit loaded) or your own selector (explicit loaded).

If the Viewer is loaded but is still not showing, most likely the Viewer's container does not have a width, height or is otherwise invisible when the Viewer is initialised. This is reported in the console as Cancelling load.
You can use the forceLoad option to force initialisation of the Viewer, but often times it is simply a matter of updating your container's css.

My Viewer is showing a randomly colored cube

This means that the Viewer is working but is unable to load the correct asset. Make sure that:

  • Your API key is correct
  • Your Assetcode is correct
  • Your host is allowed to connect to the API

Check the javascript console for more details. You would see a 401 or 404 error depending on the cause.