Skip to content
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

Error connect to AstraDB: auth-manager returned 404 #30

Open
bitsnaps opened this issue Aug 5, 2024 · 0 comments
Open

Error connect to AstraDB: auth-manager returned 404 #30

bitsnaps opened this issue Aug 5, 2024 · 0 comments

Comments

@bitsnaps
Copy link

bitsnaps commented Aug 5, 2024

Hi,

Using the latest tutorial about running agency-swam with llama/astra-assistant-api I get the following error:

openai.AuthenticationError: Error code: 401 - {'detail': '\nUnauthorized to connect to AstraDB. Please ensure you\'re passing a token starting with `ASTRACS:...` from https://astra.datastax.com and ensure it has the right scope.\n\nCould not access url: https://api.astra.datastax.com/v2/databases. Detail: {"errors":[{"ID":340018,"message":"Resource not found: token with identifier: auth-manager returned 404 for call %s/v2/admin/tokens?%s"}]}'}

Trying different combinations of creating other tokens with more powerful roles didn't make any changes, also groq example raises the same error. It seems that datastax team changes the api, this is why it would be better to reduce the amount of dependency from the framework to make it really production ready IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant