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

Issue with 403 Forbidden Error: Missing Authentication Headers in Streamlit App #4

Open
guanyuhoujeff opened this issue Aug 23, 2024 · 1 comment

Comments

@guanyuhoujeff
Copy link

Dear author,

I encountered an issue while running the Streamlit app on your GitHub repository. The app throws a 403 Forbidden error due to missing authentication headers when trying to call the assistants.search() function. Below is the error traceback:

2024-08-23 21:22:55.498 Uncaught app exception
Traceback (most recent call last):
  ...
httpx.HTTPStatusError: Client error '403 Forbidden' for url 'https://ht-mundane-strait-97-7d4d2b12ec9c54a4aa34492a954c-g3ps4aazkq-uc.a.run.app/assistants/search'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
{"detail":"Missing authentication headers"}

It seems that the client.assistants.search() function requires authentication headers that are not being provided. Could you please advise on how to properly configure the authentication headers or provide the necessary environment variables?

If you need further information or a screenshot of the issue, please let me know. Thank you for your help!

螢幕擷取畫面 2024-08-23 215415

@guanyuhoujeff
Copy link
Author

Sorry, this is my problem. The problem will be solved if you replace the url with your own langgraph api.

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