Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

[Chrome] [macOS] 500 Error when using retrieve method in MultiOn client #86

Open
pChitral opened this issue Sep 12, 2024 · 0 comments
Open

Comments

@pChitral
Copy link

OS: macOS

Browser: Chrome

Prompt: Get the news articles with their headlines, publishers and urls.

Description:
When using the retrieve method of the MultiOn client in a Python environment, an unexpected API error occurs with a 500 status code.

Additional context
This error occurs after successfully creating a session and performing steps to search for news articles. The code is being run in a Jupyter notebook environment.

Reproduction Steps:

  1. Initialize MultiOn client in a Jupyter notebook
  2. Create a session with Google as the starting URL
  3. Perform steps to search for top 5 news articles
  4. Attempt to retrieve news article data using the retrieve method
  5. Encounter API error

Expected Results:
The retrieve method should return data containing headlines, publishers, and URLs of the top news articles.

Actual Results:
An ApiError is raised with a 500 status code and a message indicating an unexpected error occurred.

Code:
This is from the cookbook https://github.com/MULTI-ON/cookbook/blob/main/news-digest/news_digest.ipynb

Error message:
ApiError: status_code: 500, body: {'detail': 'An unexpected error occurred.'}

(Python 3.12.5)
Could you please investigate this issue? Let me know if you need any additional information.

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

No branches or pull requests

1 participant