[ckan-dev] action api problem

Armin Retterath armin.retterath at gmail.com
Fri Nov 11 13:19:02 UTC 2016


hello together,

i try to create new organizations with the action api organization_create
command as default user seanh under ckan 2.5.2 (ubuntu 14.04).
the organization has only id, name, title, description and image_url
elements.
i get following response:

response: {"help": "
http://192.168.2.132/api/3/action/help_show?name=organization_create",
"success": false, "error": {"message": "Access denied: <function
organization_create at 0x7f9d4a66e578> requires an authenticated user",
"__type": "Authorization Error"}}

what is the problem? have this feature to be activated in the ini file or
are there some missing elements for the organization (maybe my user itself)
?

thanx in advance

armin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20161111/d5e9348d/attachment-0002.html>


More information about the ckan-dev mailing list