-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[critical] "weaviate.exceptions.MissingScopeException" on every command #61
Labels
bug
Something isn't working
Comments
Breakage still present in v2.2.0, albeit in a different form - #64. |
Facing same issue. |
I just installed the cli today to test on an M2 Mac running
$ weaviate version
2.2.0
$ weaviate config view
{
"url": "https://{sub-domain}.weaviate.network",
"auth": {
"type": "client_secret",
"secret": "{secret-key}"
}
}
$ weaviate ping
Traceback (most recent call last):
File "/opt/homebrew/bin/weaviate", line 8, in <module>
sys.exit(main())
^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/semi/misc.py", line 21, in main_ping
ping(get_client_from_context(ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/semi/utils.py", line 16, in get_client_from_context
return ctx.obj["config"].get_client()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/semi/config/commands.py", line 103, in get_client
return weaviate.Client(self.config["url"], cred)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/weaviate/client.py", line 150, in __init__
self._connection = Connection(
^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/weaviate/connect/connection.py", line 165, in __init__
self._create_session(auth_client_secret)
File "/opt/homebrew/lib/python3.11/site-packages/weaviate/connect/connection.py", line 222, in _create_session
self._session = _auth.get_auth_session()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/weaviate/connect/authentication.py", line 76, in get_auth_session
session = self._get_session_client_credential(self._credentials)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/weaviate/connect/authentication.py", line 127, in _get_session_client_credential
raise MissingScopeException
weaviate.exceptions.MissingScopeException |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get the error below on every
weaviate
command, includingweaviate version
:This happened after
pip install weaviate-cli
followed byweaviate version
, which claimed "Config creation was complete":The text was updated successfully, but these errors were encountered: