We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Console errors MIME + SketchUp API

Home Forums WebGL & WebXR Troubleshooting Console errors MIME + SketchUp API

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31370
    abin
    Customer

    “Refused to apply style from ‘url’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.”

    this msg i have on server side, I researched the net but everybody says something else….If somebody had this and solved it, please tell me.
    I have integrated a player von sketchup in my annotation, which works good local. But on my server side I get this:

    “DevTools failed to load SourceMap: Could not load content for https://static.sketchfab.com/static/builds/web/dist/npm.getstream-cd062b73407a206b1c84a9faa0605f01.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE”. and this: “you are using a deprecated api, please update to the new one, read mode xxxx”

    #31371
    abin
    Customer

    So I solved the MIME problem as follows (this error was only present in chrome):

    <link rel=”stylesheet” type=”text/css” href=”/my-style.css”>

    was without “/” in path, which didn’t work on my server

    #31378

    thanks for sharing your solution! :good:

    Chief 3D Verger | LinkedIn | Twitter

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.