[ckan-dev] action api problem
Hendrik Bunke
bunke.hendrik at gmail.com
Mon Nov 14 08:51:58 UTC 2016
Hi Armin,
this looks like you did not submit the API key, which authenticates the user.
Have a look at the CKAN docs:
http://docs.ckan.org/en/latest/api/index.html#authentication-and-api-keys
regards
hendrik
--On 2016-11-11 14:19, Armin Retterath wrote:
> 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
> _______________________________________________
> 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
--
Dr. Hendrik Bunke
http://www.hbxt.org
http://twitter.com/hbunke
More information about the ckan-dev
mailing list