[ckan-dev] problems with api authentication
Sasha Cuerda
scuerda at ctdata.org
Tue Aug 9 11:36:04 UTC 2016
Hello Adrià,
Yeah, that's what's so puzzling about this. I have certainly executed this
call before, using the same server and the same api key. I created a new
sysadmin account and tried using the same call w/ the new api key and
received the same error.
Is there anything about the group / org permissions that would impact this
behavior? I would think that sysadmin's would always have permissions to
edit / update any dataset / resource, but I may be misunderstanding the
permissions system.
Sasha
On Tue, Aug 9, 2016 at 5:43 AM, Adrià Mercader <adria.mercader at okfn.org>
wrote:
> Hi Sasha,
>
> On 8 August 2016 at 22:17, Sasha Cuerda <scuerda at ctdata.org> wrote:
> > {
> > "message": "Access denied: <function resource_update at
> 0x7efead4c4848>
> > requires an authenticated user",
> > "__type": "Authorization Error"
> > }
> This error occurs when there is no user logged in or an auth header
> was not sent at all OR the user was not found (ie the API key is
> incorrect). Can you double check your header name and value?
>
> Other than that your same calls work for me on master.
>
> Adrià
> _______________________________________________
> 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
>
--
CT Data Collaborative, Director of Technology
805 Brook St Building 4
Rocky Hill, CT 06067
M: (860) 385-4860
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160809/722b427c/attachment-0003.html>
More information about the ckan-dev
mailing list