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

Error when creating attempting to insert dandiset metadata #88

Closed
jjnesbitt opened this issue Feb 5, 2021 · 0 comments · Fixed by #93
Closed

Error when creating attempting to insert dandiset metadata #88

jjnesbitt opened this issue Feb 5, 2021 · 0 comments · Fixed by #93
Assignees

Comments

@jjnesbitt
Copy link
Member

I ran into this when trying to add the metadata for dandiset 000004 (converted to JSON). When making the request to PUT ​/dandisets​/{dandiset__pk}​/versions​/{version}​/, I get the following response:

OperationalError at /api/dandisets/000004/versions/draft/
index row size 3952 exceeds btree version 4 maximum 2704 for index "api_versionmetadata_metadata_name_df1014db_uniq"
DETAIL:  Index row references tuple (1,4) in relation "api_versionmetadata".
HINT:  Values larger than 1/3 of a buffer page cannot be indexed.
Consider a function index of an MD5 hash of the value, or use full text indexing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants