-
Notifications
You must be signed in to change notification settings - Fork 1
[BUG] - Importing consolidated.csv fails with 500 error #37
Copy link
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When attempting to import consolidated.csv using Import PVs, the PVs are parsed, but import fails. No rows are added.
Expected behavior
Import succeeds, newly imported PVs populate table after a Javascript popup message of successful import.
Steps to Reproduce
- Clone react-squirrel and react-squirrel-backend.
- Set up .env, run
docker compose up --build -dto get backend to running state with empty db pnpm devto get frontend to running state- In Import PVs, select consolidated.csv. 36k rows load in after some time.
- Click Import 36k PVs, 500 error code returned.
Possible solution (optional)
It's probably the duplicate key handling, not the size of the file. Smaller files pass, even a truncated (first 5.7k rows) file worked.
My platform
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working