Skip to content

Issue on docs #3190

@lizxl2

Description

@lizxl2

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>

<title>Server Error (500)</title>

Server Error (500)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions