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

load datasets: unexpected field 'id', for ckan < 2.3 #31

Closed
deniszgonjanin opened this issue Oct 24, 2014 · 1 comment
Closed

load datasets: unexpected field 'id', for ckan < 2.3 #31

deniszgonjanin opened this issue Oct 24, 2014 · 1 comment

Comments

@deniszgonjanin
Copy link

If you do a wholesale ckanapi dump datasets --all -O data.jl and then ckanapi load datasets -I data.jl, the command will fail on a base CKAN instance because CKAN does not allow you to set the ID of a new dataset.

Curiously, this works just fine for resources, and groups/organizations.

@wardi
Copy link
Contributor

wardi commented Feb 4, 2015

fixed in latest ckan (admins can set package ids now) but we should probably have a workaround for older ckan versions, or for people wanting to load without being an admin

@wardi wardi changed the title Validation Error: unexpected field 'id' load datasets: unexpected field 'id' ckan < 2.3 May 17, 2015
@wardi wardi changed the title load datasets: unexpected field 'id' ckan < 2.3 load datasets: unexpected field 'id', for ckan < 2.3 May 17, 2015
@wardi wardi closed this as completed Aug 24, 2023
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

No branches or pull requests

2 participants