[ckan-dev] action api problem

Timothy Giles timothy.giles at slu.se
Fri Nov 11 13:21:34 UTC 2016


Hi Armin,

Did you look in the ini? There are some options, but Organisation creation is not one of them.

To create organisations you need a user that is an Admin. Have you made this particular user an Admin?

Regards Tim

From: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of Armin Retterath
Sent: den 11 november 2016 14:19
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
Subject: [ckan-dev] action api problem

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/5b8bc297/attachment-0003.html>


More information about the ckan-dev mailing list