mem0 icon indicating copy to clipboard operation
mem0 copied to clipboard

Open Memory Save Button gives a 404

Open faddy19 opened this issue 7 months ago • 4 comments

🐛 Describe the bug

Make build make up make ui

works. UI loads, backend runs. But when I create a memory and try to save I get this:

api-1 | INFO: 192.168.65.1:37478 - "POST /api/v1/memories/ HTTP/1.1" 404 Not Found api-1 | INFO: 192.168.65.1:37478 - "POST /api/v1/memories/ HTTP/1.1" 404 Not Found api-1 | INFO: 192.168.65.1:37478 - "POST /api/v1/memories/ HTTP/1.1" 404 Not Found api-1 | INFO: 192.168.65.1:37478 - "POST /api/v1/memories/ HTTP/1.1" 404 Not Found

It is not saving. There is some mismatch between frontend and backend.

faddy19 avatar May 13 '25 20:05 faddy19

Does this happen when you try to save the memory from the UI or from a MCP client?

deshraj avatar May 13 '25 20:05 deshraj

Same here when trying from UI -> "POST /api/v1/memories/ HTTP/1.1" 404 Not Found

mattquestions avatar May 13 '25 22:05 mattquestions

also would be good to clarify which env variable to be set for backend and frontend in the documentation

mattquestions avatar May 13 '25 22:05 mattquestions

Same here.

also would be good to clarify which env variable to be set for backend and frontend in the documentation Agreed. Examples could be more helpful

I get these errors when building, but they are set in .env

level=warning msg="The \"NEXT_PUBLIC_API_URL\"
variable is not set. Defaulting to a blank string."
level=warning msg="The \"USER\" variable is not
set. Defaulting to a blank string."

Docker Compose using which I assume should be using the variables. 🤷‍♂️

    environment:
      - NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
      - NEXT_PUBLIC_USER_ID=${USER}

ThoughtPhotography avatar Jun 16 '25 07:06 ThoughtPhotography