Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Duplicate key error

Open
#46 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
jupyter-notebook, python
Domain
api, databases

Research direction

Run test-score-upload-from-sciunit.ipynb and reproduce the duplicate-key error at the data upload endpoint. Review the linked Slack discussion for Dario's preliminary thoughts and inspect how the existing URL uniqueness constraint is handled. The expected upload behavior and the final acceptance criteria still need clarification.

Written by the indexing model from the issue text.

Description

If you run the test-score-upload-from-sciunit.ipynb notebook in this repo, you will now get:

ERROR:scidash_api.client:SERVER -> SERVER ERROR: ['IntegrityError at /data/upload/data.json\nduplicate key value violates unique constraint "sciunitmodels_modelclass_url_0a12bafd_uniq"\nDETAIL:  Key (url)=(https://github.com/scidash/neuronunit/blob/master/neuronunit/models/NeuroML2/LEMS_2007One.xml) already exists.

This was discussed in the #scidash channel on Slack and Dario has preliminary thoughts here: https://asuiconlab.slack.com/archives/CL7JKNG10/p1598466199014200

Dominant language
Jupyter Notebook
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MetaCell/scidash-api

All issues in MetaCell/scidash-api

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.