Comments (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)
- Please provide error codes to properly proccess different errors
- [FR] Fake WeaviateClient implementation
- 'properties' does not exist in type 'HybridArgs' HOT 1
- Unknown argument "nearText" on field HOT 1
- Warn when errors occurred during batch operations
- [FR] ability to update vector via client.data.updater() HOT 5
- [FR] passing filename to nearImage
- Typed class properties
- How to use array of text datatype with TS client?
- [FR] Ability to update schema configuration HOT 2
- Incorrect error message when updating the schema HOT 2
- [FR] client.schema.delete_all() method for feature parity with the Python client
- [FR] consistency level for client.data.checker()
- Error: Cannot find module 'graphql-request' HOT 9
- weaviate-ts-client library error on sveltekit HOT 3
- Connection fails when user-provided host URL contains the scheme
- update vector: fail with status 500 HOT 1
- realFetch.call is not a function HOT 1
- Unable to batch DELETE objects by id HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-client.