-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
Path: /what-is-mem0
I got API key created and try to use, but I got following error
HTTP error occurred: Server error '500 Internal Server Error' for url 'https://api.mem0.ai/v1/memories/'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
Traceback (most recent call last):
File "/Users/lizxl/Documents/genai_demo/agent_strand/venv/lib/python3.13/site-packages/mem0/client/main.py", line 34, in wrapper
return func(*args, **kwargs)
File "/Users/lizxl/Documents/genai_demo/agent_strand/venv/lib/python3.13/site-packages/mem0/client/main.py", line 172, in add
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Users/lizxl/Documents/genai_demo/agent_strand/venv/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Server error '500 Internal Server Error' for url 'https://api.mem0.ai/v1/memories/'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/lizxl/Documents/genai_demo/agent_strand/test.py", line 14, in
client.add(messages, user_id="alex")
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/lizxl/Documents/genai_demo/agent_strand/venv/lib/python3.13/site-packages/mem0/client/main.py", line 37, in wrapper
raise APIError(f"API request failed: {e.response.text}")
mem0.client.main.APIError: API request failed:
<!doctype html>