Skip to content

500 Internal Server Error on /memories endpoint #3674

@fedorovychh

Description

@fedorovychh

When calling the /memories endpoint with at least one of the required input parameters, the server returns a 500 Internal Server Error with the message:

{
  "detail": "'list' object has no attribute 'id'"
}

This makes the endpoint unusable, even though all input conditions are satisfied.

Steps to Reproduce:

  • Clone the repository and run the service locally (default configuration).
  • Call the /memories endpoint with any of the input parameters provided (at least one is required).
    Example request:
    curl -X GET "http://localhost:8000/memories?user_id=some_user_id"
  • Observe that the response is a 500 error with the body:
    {"detail": "'list' object has no attribute 'id'"}
Image

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