Giter Site home page Giter Site logo

Comments (1)

tsmith023 avatar tsmith023 commented on May 25, 2024 1

@dandv, this seems to be a multi-faceted issue. The core problem you're seeing is that the learn-weaviate API key in fact lacks the permissions necessary to use the .checker() method on the https://edu-demo.weaviate.network URL. This is because .checker() makes an HTTP HEAD request under-the-hood and this apparently requires elevated access.

You were unable to see this error in the client, however, due to the issue that you raised with regards to the return type in your MRE. A solution to this is open in a PR: #71, but the fundamental problem will remain: the demo API key cannot make HEAD requests so cannot use the .checker() method.

To see this for yourself, you can use POSTman or Insomnia to make a HEAD request to https://edu-demo.weaviate.network/v1/objects/WikiCity/00008ad0-f7f1-5fd8-8fd6-a03a203bd428 with an Authorization header of Bearer learn-weaviate and you will receive a 403 Forbidden error. On the other hand, if you remove this Authorization header entirely, you will receive a 401 Unauthorized header signifying that the API key is genuine but lacks the required permissions.

from typescript-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.