You need to enable JavaScript to run this app.
导航
附录
最近更新时间:2024.07.11 17:32:54首次发布时间:2023.10.08 10:43:29

1. 租户code获取方式

租户是资源隔离的单位,可以从浏览器的url输入栏获得。
SaaS:
图片
私部:
图片

2. 在线服务接口QPS计算方式

Tendis节点数

6

是否SSD

Tendis单节点服务能力

40000

平均每次请求的标签、属性个数

5

可支持的最大QPS

24000

资源写入评估:
Tendis单节点大约5~7W的QPS(读写分担)。在实际应用的过程中,一般情况下,读取的要求都不太高,普通万级别的调用即可满足需求。但是问题在于写入。假设客户总用户数量为1000W,则单个节点写完数据的时间为1000W / 5W = 200s。按照用户数量,用户需要导入的标签、属性数,以及用户期望所有导入任务完成时间,可以用如下式子来评估:

节点数量=ROUNDUP(用户数量*(导入标签数+导入属性数+Id mapping关系数)/(tendis的写入qps3600期待的导入小时数), 0)*(tendis副本数+1)

3. 全局常用错误码表

错误码

报错信息

解决方法

1010340000004

{"msg":"app 还没有分配此接口的使用权限,请联系管理员分配","code":1010340000004}

没有开通 openApi 对应接口的权限。

1010340000012

{"msg":"需要授权Headers are: X-BDPP-Id/Authorization","code":1010340000012}

更新用户的标签时,没有在请求的header中添加授权信息

1010340000013

{"msg":"无效的 SDK Token, 请重新获取","code":1010340000013}

一种可能是,获取 token 的时候请求方式不正确,应该是post请求,使用get请求会报这个错。
还有一个可能就是:token 拼接 Bearer 后面有个空格,

1010340000017

{"msg":"没有在header中找到租户信息","code":1010340000017}

这是因为 http 请求的 headers 中没有配置 tenant_code。

1010340000052

{'msg': '不存在这个租户,Code: 0', 'code': 1010340000052}

这是因为 tenant_code 不正确。

1011040000041

{"msg":"HDFS文件不存在","code":1011040000041}

下载分群的时候,hdfs 上没有对应的分群用户列表文件。或者分群中「暂无数据」。

1080100000002

{"msg":"meta date error, code: 1080100000002, msg: 标签不存在, traceId: 439ced4d-3891-43b3-8ba3-293eadaec619","code":400}

更新标签的时候,标签不存在。确认标签ID是否正确。

1060040010001

{"msg":"Not Support Enumeration Type","code":10001}

不支持的枚举值类型

1060050010002

{"msg":"Call Downstrem Error","code":10002}

调用下游服务失败

1060050010003

{"msg":"Json Parse Error","code":10003}

Json序列化/反序列化失败

1060050010004

{"msg":"Send Kafka Message Error","code":10004}

发送Kafka消息失败

1060050020001

{"msg":"Internal Error","code":20001}

内部错误

1060040120002

{"msg":"UnAuthorized Error","code":20002}

无权限访问开放平台

1060140010001

{"msg":"Unknown Event Mode","code":10001}

未知的EventMode

1060140010002

{"msg":"Unknown Finder App","code":10002}

当前项目无对应的finder app

1060240010001

{"msg":"Id Mapping Empty","code":10001}

Id Mapping服务返回结果为空

1060240010002

{"msg":"Base IdType Not Found","code":10002}

未找到相应id类型的基准ID

1060240010003

{"msg":"Id Mapping Convert Error","code":10003}

Id Mapping服务返回结果无法转换为长整型的基准ID

1060240010004

{"msg":"Find Finder Id Error","code":10004}

未找到cdp id type对应的finder id

1060340010001

{"msg":"File Name Too Long","code":10001}

文件名长度超过限制

1060340010002

{"msg":"Multipart Upload Part Num Too Large","code":10002}

分片上传分片数过超过限制

1060340010003

{"msg":"Multipart Upload Part Num Illegal","code":10003}

分片上传分片数非法(如小于等于0)

1060340410004

{"msg":"File Not Found","code":10004}

文件不存在

1060340110001

{"msg":"Unauthorized To Endpoint","code":10001}

无权限访问节点

1060340110002

{"msg":"OAuth Required","code":10002}

使用OAuth访问

1060340010001

{"msg":"Create Segment File Detail Empty","code":10001}

创建分群的入参fileDetail为空

1060340010002

{"msg":"Create Segment Field Empty","code":10002}

创建分群有入参为空

1060340010003

{"msg":"Segment File Invalid","code":10003}

分群文件无效

1060340010004

{"msg":"Segment Not Exist","code":10004}

分群不存在

1060340010005

{"msg":"Online Segment Not Exist","code":10005}

在线分群不存在

1060340010006

{"msg":"Segment File Not Exported","code":10006}

分群(文件)未创建成功

1060340010007

{"msg":"Id Type Empty","code":10007}

Id Type为空

1060340010008

{"msg":"Segment Name Duplicated","code":10008}

分群名称重复

1060340010009

{"msg":"OnPremiseSegmentRepository Method Not Implement","code":10009}

方法未实现

1060340010010

{"msg":"OpenPlatformSegmentRepository Method Not Implement","code":10010}

方法未实现

1010200000000

DEFAULT

DEFAULT

0

SUCCESS

SUCCESS

1010240000000

PARAMETER_ERROR

PARAMETER_ERROR

1010240000001

{"msg":"租户不合法","code":"PARAMETER_ERROR_TENANT_ILLEGAL"}

租户不合法

1010240000002

{"msg":"当前分群主体不合法","code":"PARAMETER_ERROR_SUBJECT_ILLEGAL"}

当前分群包主体不合法

1010240000003

PARAMETER_ERROR_USER_ILLEGAL

PARAMETER_ERROR_USER_ILLEGAL

1010240000004

{"msg":"当前分群名重复","code":"PARAMETER_ERROR_SEG_NAME_DUPLICATE"}

当前分群名重复

1010240000005

{"msg":"当前名称重复","code":"PARAMETER_ERROR_SEG_GROUP_NAME_DUPLICATE"}

当前名称重复

1010240000006

PARAMETER_ERROR_MISSING

PARAMETER_ERROR_MISSING

1010240000007

{"msg":"依赖被删除人群","code":"PARAMETER_ERROR_DEPEND_ON_DELETED_SEGS"}

依赖被删除人群

1010240000008

{"msg":"依赖被删除标签","code":"PARAMETER_ERROR_DEPEND_ON_DELETED_TAGS"}

依赖被删除标签

1010240000009

{"msg":"当前分群包类型不允许拆包","code":"PARAMETER_ERROR_SEG_TYPE_NOT_ALLOW_SPLIT"}

当前分群包类型不允许拆包

1010240000010

PARAMETER_ERROR_SYSTEM_RESOURCE_CAN_NOT_MODIFY

PARAMETER_ERROR_SYSTEM_RESOURCE_CAN_NOT_MODIFY

1010240000011

{"msg":"拆包达到上限","code":"PARAMETER_ERROR_EXCEED_MAX_SEG_SPLIT_NUM"}

拆包达到上限

1010240000012

{"msg":"当前分组不存在","code":"PARAMETER_ERROR_SEG_GROUP_NOT_EXITS"}

当前分组不存在

1010240000013

PARAMETER_ERROR_EXCEED_MAX_PAGE_SIZE

PARAMETER_ERROR_EXCEED_MAX_PAGE_SIZE

1010240000014

PARAMETER_ERROR_SEG_BATCH_MAX_NUM

PARAMETER_ERROR_SEG_BATCH_MAX_NUM

1010240000015

{"msg":"当前分群包名称为空","code":"PARAMETER_ERROR_SEG_NAME_EMPTY"}

当前分群包名称为空

1010240000016

PARAMETER_ERROR_SEG_NAME_TOO_LONG

PARAMETER_ERROR_SEG_NAME_TOO_LONG

1010240000017

{"msg":"当前分群模板名称存在重复","code":"PARAMETER_ERROR_SEG_TEMPLATE_NAME_DUPLICATE"}

当前分群模板名称存在重复

1010240000018

{"msg":"当前已被拆包过,请刷新页面","code":"PARAMETER_ERROR_SEG_SPLIT_BEFORE"}

当前已被拆包过,请刷新页面

1010240000019

PARAMETER_ERROR_SEG_DESC_TOO_LONG

PARAMETER_ERROR_SEG_DESC_TOO_LONG

1010240000020

{"msg":"超出ID数量上限","code":"PARAMETER_ERROR_SEG_IDS_TOO_MANY"}

超出ID数量上限

1010240000021

{"msg":"ID类型不允许变更PARAMETER_ERROR_ID_TYPE_CANNOT_BE_CHANGED

ID类型不允许变更

1010240000022

{"msg":"创建分群时请选择追加分群","code":"PARAMETER_ERROR_UPDATE_MODE_SHOULD_BE_ADD"}

创建分群时请选择追加分群

1010240000023

{"msg":"文件和分群有且仅有一种","code":"PARAMETER_ERROR_UPLOAD_TASK_ID_AND_SEGMENT_ID_SHOULD_EXIST_ONE"}

文件和分群有且仅有一种

1010240000024

{"msg":"文件为空","code":"PARAMETER_ERROR_UPLOAD_TASK_ID_EMPTY"}

文件为空

1010250000001

SEG_META_NOT_FOUND

SEG_META_NOT_FOUND

1010250000002

SEG_CONDITION_NOT_FOUND

SEG_CONDITION_NOT_FOUND

1010250000003

SEG_TASK_NOT_FOUND

SEG_TASK_NOT_FOUND

1010250000004

JSON_SERIALIZE_FAILED

JSON_SERIALIZE_FAILED

1010250000005

JSON_DESERIALIZE_FAILED

JSON_DESERIALIZE_FAILED

1010250000006

SEG_TASK_TYPE_NOT_FOUND

SEG_TASK_TYPE_NOT_FOUND

1010250000007

CLIENT_REQUEST_FAILED

CLIENT_REQUEST_FAILED

1010250000008

SEG_TYPE_NOT_SUPPORT_SQL_PARSE

SEG_TYPE_NOT_SUPPORT_SQL_PARSE

1010250000009

ID_TYPE_NOT_FOUND

ID_TYPE_NOT_FOUND

1010250000010

BASE_ID_TYPE_NOT_FOUND

BASE_ID_TYPE_NOT_FOUND

1010250000011

BASIC_AUTH_ILLEGAL

BASIC_AUTH_ILLEGAL

1010250000012

AUTH_ILLEGAL

AUTH_ILLEGAL

1010250000013

ID_MAPPING_HIVE_INFO_NOT_FOUND

ID_MAPPING_HIVE_INFO_NOT_FOUND

1010250000014

SEG_PARAMETER_SEG_AUTH_ILLEGAL

SEG_PARAMETER_SEG_AUTH_ILLEGAL

1010250000015

{"msg":"找不到相应的标签,标签id:...","code":"SEG_PARAMETER_TAG_AUTH_ILLEGAL"}

找不到相应的标签,标签id:

1010250000016

SEG_FILE_DOWNLOAD_FAILED

SEG_FILE_DOWNLOAD_FAILED

1010250000017

CONSUL_REQUEST_FAILED

CONSUL_REQUEST_FAILED

1010250000018

SEG_FILE_FORMAT_TYPE_NOT_SUPPORT

SEG_FILE_FORMAT_TYPE_NOT_SUPPORT

1010250000019

SEG_FILE_COMPRESS_FAILED

SEG_FILE_COMPRESS_FAILED

1010250000020

SEG_FILE_DECOMPRESS_FAILED

SEG_FILE_DECOMPRESS_FAILED

1010250000021

SEG_FILE_NOT_READY

SEG_FILE_NOT_READY

1010250000022

ID_MAPPING_DATA_NOT_READY

ID_MAPPING_DATA_NOT_READY

1010250000023

PROPERTY_LOST

PROPERTY_LOST

1010250000024

SEG_FILE_TOO_LARGE

SEG_FILE_TOO_LARGE

1010250000025

SEG_FILE_NOT_FOUND

SEG_FILE_NOT_FOUND

1010250000026

SEG_FILE_UPLOAD_FAILED

SEG_FILE_UPLOAD_FAILED

1010250000027

NO_SUPPORT_PRIVATE_TRANS_TO_PUBLIC_ID_TYPE

NO_SUPPORT_PRIVATE_TRANS_TO_PUBLIC_ID_TYPE

1010250000028

SEG_TYPE_NOT_SUPPORT_PREVIEW_BY_SQL

SEG_TYPE_NOT_SUPPORT_PREVIEW_BY_SQL

1010250000029

SEG_BITMAP_DATA_NOT_READY

SEG_BITMAP_DATA_NOT_READY

1010250000030

SEG_PARAMETER_CONDITION_SELF_DEPEND

SEG_PARAMETER_CONDITION_SELF_DEPEND

1010250000031

SEG_DOWNLOAD_DETAIL_PARAM_EXCEED

SEG_DOWNLOAD_DETAIL_PARAM_EXCEED

1010250000032

DATASOURCE_LOST

DATASOURCE_LOST

1010250000033

LOOKALIKE_CONFIG_NOT_FOUND

LOOKALIKE_CONFIG_NOT_FOUND

1010250000034

NO_SEG_MODULE_AUTH

NO_SEG_MODULE_AUTH

1010250000035

SEG_TYPE_NOT_SUPPORT_REPORT_TASK_STATUS

SEG_TYPE_NOT_SUPPORT_REPORT_TASK_STATUS

1010250000036

SEG_DELETED

SEG_DELETED

1010250000037

SEG_RUN_HISTORY_DOWNLOAD_FAILED

SEG_RUN_HISTORY_DOWNLOAD_FAILED

1010250000038

UNKNOWN_CASE_IN_ENUM

UNKNOWN_CASE_IN_ENUM

1010250000039

SEG_DOWNLOAD_DETAIL_TABLE_EXCEED

SEG_DOWNLOAD_DETAIL_TABLE_EXCEED

1010250000040

SEG_DOWNLOAD_DETAIL_NO_PARAM_CHOSEN

SEG_DOWNLOAD_DETAIL_NO_PARAM_CHOSEN

1010250000041

PARSER_CSV_LINE_ERROR

PARSER_CSV_LINE_ERROR

1010250000042

DESENSITIZE_ERROR

DESENSITIZE_ERROR

1010250000043

PARTITION_IS_EMPTY

PARTITION_IS_EMPTY

1010250000044

SEG_REALTIME_TASK_CREATED_FAILED

SEG_REALTIME_TASK_CREATED_FAILED

1010250000045

REALTIME_TASK_RESPONSE_LOST

REALTIME_TASK_RESPONSE_LOST

1010250000046

{"msg":"存在实时分群不支持的规则","code":"SEG_REALTIME_CONDITION_NOT_SUPPORT"}

存在实时分群不支持的规则

1010250000047

{"msg":"分群已被删除","code":"SEG_ALREADY_DELETED"}

分群已被删除

1010250000048

{'msg":"规则中没有实时输入","code":"SEG_CONDITION_HAS_NO_REALTIME_INPUT"}

规则中没有实时输入

1010250000049

EMPTY_MAUTAG_RESPONSE

EMPTY_MAUTAG_RESPONSE

1010250000050

SEG_DEP_RESOURCE_TYPE_NOT_FOUND

SEG_DEP_RESOURCE_TYPE_NOT_FOUND

1010250000051

{"msg":"已超过可用实时资源群上限,请对已有实时标签或分群进行清理 联系火山服务人员进行扩容","code":"shREALTIME_CNT_EXCEED_MAX_LIMIT"}

已超过可用实时资源群上限,请对已有实时标签或分群进行清理 联系火山服务人员进行扩容

1010250000052

SEG_NOT_SUPPORT_TRANS_TO_REALTIME_SEG

SEG_NOT_SUPPORT_TRANS_TO_REALTIME_SEG

1010250000053

SEG_NOT_SUPPORT_TRANS_TO_OFFLINE_SEG

SEG_NOT_SUPPORT_TRANS_TO_OFFLINE_SEG

1010250000054

SEG_PRIVATE_TRANS_TO_PUBLIC_BEFORE

SEG_PRIVATE_TRANS_TO_PUBLIC_BEFORE

1010250000055

SEG_REALTIME_TASK_NOT_RUNNING

SEG_REALTIME_TASK_NOT_RUNNING

1010250000056

{"msg":"当前受限资源总额度已达到上限(限制例行更新的规则计算类标签、分群可创建的总量;标签不包含模型标签、分群仅包含按天分群。)请先进行无效资源治理删除或者联系管理员及火山侧进行扩容","code":"RESOURCE_CNT_EXCEED_MAX_LIMIT"}

当前受限资源总额度已达到上限(限制例行更新的规则计算类标签、分群可创建的总量;标签不包含模型标签、分群仅包含按天分群。)请先进行无效资源治理删除或者联系管理员及火山侧进行扩容。

1010250000057

{"msg":"无删除分群权限","code":"DELETE_SEG_AUTH_ERROR"}

无删除分群权限

1010250000058

{"msg":"调度时间格式错误","code":"PARAMETER_ERROR_SEG_SCHEDULE_TIME_FORMAT_ERROR"}

调度时间格式错误

1010250000059

{"msg":"规则DSL错误","code":"PARAMETER_ERROR_DSL_ERROR"}

规则DSL错误

1010250000060

{"msg":"标签未上线,标签id:...","code":"SEG_PARAMETER_TAG_NOT_ONLINE"}

标签未上线,标签id:

1010250099999

UNKNOWN_ERROR

UNKNOWN_ERROR

1010240400000

BODY_EMPTY_ERROR

BODY_EMPTY_ERROR

1010240499999

METHOD_NOT_SUPPORTED_ERROR

METHOD_NOT_SUPPORTED_ERROR

-10915

{"code":-10915, "msg":"此类型未导入到在线服务", "extra":"此类型未导入到在线服务"}

查询的idmapping中的类型未导入到在线服务

-10903

{"code":-10903, "msg":"输入id为空", "extra":""}

输入的id为空

-10906

{"code":-10906, "msg":"idmapping TargetType 为空", "extra":""}

idmapping接口 TargetType 为空

-10907

{"code":-10907, "msg":"idmapping SourceType 为空", "extra":""}

idmapping SourceType 为空

-10908

{"code":-10908, "msg":"idmapping SourceType 不存在", "extra":""}

idmapping SourceType 不存在,是非法的

-10909

{"code":-10909, "msg":"idmapping targetType 不存在", "extra":""}

idmapping targetType 不存在,是非法的

-10916

{"code":-10916, "msg":"跨主体查询,策略id 不存", "extra":""}

跨主体查询,策略id 不存

-10917

{"code":-10917, "msg":"跨主体查询,源类型和目的类型是同一主体, 应该为不同主体", "extra":""}

跨主体查询,源类型和目的类型 应该隶属于不同主体