[ckan-dev] Problems using CKAN API - package_create()
Rachel Knowler
rachel.knowler at liip.ch
Tue Oct 14 15:12:17 UTC 2014
Hi Washington,
Just to check, are you trying to create a dataset with the same name as
a dataset that did exist before, but that you deleted? In this case the
original dataset is still in the database, only deactivated, so you
can't add it again. You need to purge it following these instructions:
http://docs.ckan.org/en/latest/sysadmin-guide.html#permanently-deleting-datasets
If that's not the case, maybe someone else will know what your problem is.
Cheers,
Rachel
On 14.10.2014 16:59, Washington Nascimento wrote:
> Hello everyone.
>
> I am trying to use CKAN API to insert new datasets into CKAN.
>
> My problem is that i can insert one dataset, when i try to insert
> another one I am having the following error:
>
> *409 Conflict*
> *
> *
> I know this error occurs when the Dataset already exists and I try to
> insert again, the problem is that the second Dataset does not exists.
>
> Does anyone has passed for this error?
>
> Thank you!
>
> --
> Washington Nascimento
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
--
Liip AG // Limmatstrasse 183 // CH-8005 Zürich
Tel +41 43 500 39 80 // Mob +41 78 658 26 12 // www.liip.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20141014/ea84dd51/attachment-0003.html>
More information about the ckan-dev
mailing list