[ckan-discuss] HTTP 500 error when adding a new package using the API

Maali, Fadi fadi.maali at deri.org
Sun May 22 00:29:21 BST 2011


Hello,

I am getting a 500 Internal server error when trying to add a new
package to http://test.ckan.net

I followed the instructions described in the API documentation
http://packages.python.org/ckan/api.html#example-of-usage

the command I am using is:
curl http://test.ckan.net/api/rest/package -d '{"name":"test",
"title":"Test package"}' -H "Authorization:MY-API-KEY"

Is something wrong in the request?

Thanks,
Fadi



More information about the ckan-discuss mailing list