天鹅绒的CKAN:可能该组织已经存在于已删除状态 [英] Cygnus to CKAN: Possibly the organization already exists in a deleted state

查看:138
本文介绍了天鹅绒的CKAN:可能该组织已经存在于已删除状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Cygnus配置为存储从Orion到CKAN的所有实体. 当我尝试将来自实体的信息存储在http://demo.ckan.org/中时,一切工作正常,组织,数据集和资源均已正确创建,但是当我尝试将其存储在自己的CKAN实例中时,出现此错误.

I have Cygnus configured to store all entities coming from Orion to CKAN. When I try to store the information from the entities in http://demo.ckan.org/ everything works fine, organization, dataset and resource are created correctly, but when I try to store it in my own instance of CKAN I get this error.

time=2016-02-17T13:45:59.560CET | lvl=ERROR | trans=1455713068-242-0000000000 | srv=test | subsrv=test | function=processNewBatches | comp=Cygnus | msg=com.telefonica.iot.cygnus.sinks.OrionSink[424] : Runtime error (Don't know how to treat the response code. Possibly the organization already exists in a deleted state (respCode=403, orgName=test))

我的环境中安装了Cygnus 0.12.1-16,Orion 0.27.0-1和CKAN 2.5.1.

I have Cygnus 0.12.1-16, Orion 0.27.0-1 and CKAN 2.5.1 installed in my environment.

我正在使用attr_persistence=row存储数据

推荐答案

从日志中,我看到了以下内容:

From the logs, I've seen the following:

time = 2016-02-17T15:12:38.517CET | lvl = DEBUG | trans = 1455718235-272-0000000000 | srv = test | subsrv = test |功能=线| comp =天鹅座| msg = org.apache.http.impl.conn.Wire [86]:<< "{" help:" http://demo.ckan.org/api/3/action/help_show?name = organization_create ,"成功:false,"错误:{"消息:"访问被拒绝:用户3e5bb58b-345b-4587-9905-e06c72091dc9未经授权创建组织","__ type":授权错误"}}"

time=2016-02-17T15:12:38.517CET | lvl=DEBUG | trans=1455718235-272-0000000000 | srv=test | subsrv=test | function=wire | comp=Cygnus | msg=org.apache.http.impl.conn.Wire[86] : << "{"help": "http://demo.ckan.org/api/3/action/help_show?name=organization_create", "success": false, "error": {"message": "Access denied: User 3e5bb58b-345b-4587-9905-e06c72091dc9 not authorized to create organizations", "__type": "Authorization Error"}}"

demo.ckan.org中的用户帐户似乎存在某种问题,不允许您创建组织.您是否放置了适当的API令牌?

It seems there is some kind of problem with your user account in demo.ckan.org, you are not allowed to create organizations. Did you put the appropriate API token?

这篇关于天鹅绒的CKAN:可能该组织已经存在于已删除状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆