Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RELATED_TO relationship in neo4j not found - 404 #2

Open
JanEisen opened this issue Dec 16, 2024 · 2 comments
Open

RELATED_TO relationship in neo4j not found - 404 #2

JanEisen opened this issue Dec 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@JanEisen
Copy link

When running the Backend (java + docker-compose) and Frontend (docker) in the current version with the azure properties file (using gpt-4o) configured and a repo from the local file system ingested, which worked nicely btw, I get the following error when asking a question in the frontend:
Status code 404, "{"error":{"code":"404","message": "Resource not found"}}"
and the following error in the backend:
Neo.ClientNotification.Statement.UnknownRelationshipTypeWarning: The provided relationship type is not in the database. MATCH (f:FileNode)-[:RELATED_TO]->(c:ConversationNode) WHERE c.id = $conversationNodeId RETURN f ^ One of the relationship types in your query is not available in the database, make sure you didn't misspell it or that the label is available when you run this statement in your application (the missing relationship type is: RELATED_TO)
The neo4j graph doesn't have any RELATED_TO relationships currently, only HAS_FILE and MIGRATED_TO
image

Did I miss any step in the setup?

@JanEisen JanEisen changed the title Status code 404, "{"error":{"code":"404","message": "Resource not found"}}" RELATED_TO relationship in neo4j not found Dec 16, 2024
@JanEisen JanEisen changed the title RELATED_TO relationship in neo4j not found RELATED_TO relationship in neo4j not found - 404 Dec 16, 2024
@MacOS MacOS added the bug Something isn't working label Dec 16, 2024
@ugwun
Copy link
Collaborator

ugwun commented Dec 23, 2024

@JanEisen will have a look

@ugwun
Copy link
Collaborator

ugwun commented Dec 24, 2024

@JanEisen I'm not sure where the problem is stemming from, but I would recommend few steps.

Please let me know whether this helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants