You need to enable JavaScript to run this app.
导航
附录
最近更新时间:2023.12.04 17:35:51首次发布时间:2023.10.08 10:43:10
1. 租户code获取方式

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

私部:

2. 在线服务接口QPS计算方式
Tendis节点数6
是否SSD
Tendis单节点服务能力40000
平均每次请求的标签、属性个数5
可支持的最大QPS24000

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

节点数量=ROUNDUP(用户数量*(导入标签数+导入属性数+Id mapping关系数)/(tendis的写入qps*3600*期待的导入小时数), 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}方法未实现
1010200000000DEFAULTDEFAULT
0SUCCESSSUCCESS
1010240000000PARAMETER_ERRORPARAMETER_ERROR
1010240000001{"msg":"租户不合法","code":"PARAMETER_ERROR_TENANT_ILLEGAL"}租户不合法
1010240000002{"msg":"当前分群主体不合法","code":"PARAMETER_ERROR_SUBJECT_ILLEGAL"}当前分群包主体不合法
1010240000003PARAMETER_ERROR_USER_ILLEGALPARAMETER_ERROR_USER_ILLEGAL
1010240000004{"msg":"当前分群名重复","code":"PARAMETER_ERROR_SEG_NAME_DUPLICATE"}当前分群名重复
1010240000005{"msg":"当前名称重复","code":"PARAMETER_ERROR_SEG_GROUP_NAME_DUPLICATE"}当前名称重复
1010240000006PARAMETER_ERROR_MISSINGPARAMETER_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"}当前分群包类型不允许拆包
1010240000010PARAMETER_ERROR_SYSTEM_RESOURCE_CAN_NOT_MODIFYPARAMETER_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"}当前分组不存在
1010240000013PARAMETER_ERROR_EXCEED_MAX_PAGE_SIZEPARAMETER_ERROR_EXCEED_MAX_PAGE_SIZE
1010240000014PARAMETER_ERROR_SEG_BATCH_MAX_NUMPARAMETER_ERROR_SEG_BATCH_MAX_NUM
1010240000015{"msg":"当前分群包名称为空","code":"PARAMETER_ERROR_SEG_NAME_EMPTY"}当前分群包名称为空
1010240000016PARAMETER_ERROR_SEG_NAME_TOO_LONGPARAMETER_ERROR_SEG_NAME_TOO_LONG
1010240000017{"msg":"当前分群模板名称存在重复","code":"PARAMETER_ERROR_SEG_TEMPLATE_NAME_DUPLICATE"}当前分群模板名称存在重复
1010240000018{"msg":"当前已被拆包过,请刷新页面","code":"PARAMETER_ERROR_SEG_SPLIT_BEFORE"}当前已被拆包过,请刷新页面
1010240000019PARAMETER_ERROR_SEG_DESC_TOO_LONGPARAMETER_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_CHANGEDID类型不允许变更
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"}文件为空
1010250000001SEG_META_NOT_FOUNDSEG_META_NOT_FOUND
1010250000002SEG_CONDITION_NOT_FOUNDSEG_CONDITION_NOT_FOUND
1010250000003SEG_TASK_NOT_FOUNDSEG_TASK_NOT_FOUND
1010250000004JSON_SERIALIZE_FAILEDJSON_SERIALIZE_FAILED
1010250000005JSON_DESERIALIZE_FAILEDJSON_DESERIALIZE_FAILED
1010250000006SEG_TASK_TYPE_NOT_FOUNDSEG_TASK_TYPE_NOT_FOUND
1010250000007CLIENT_REQUEST_FAILEDCLIENT_REQUEST_FAILED
1010250000008SEG_TYPE_NOT_SUPPORT_SQL_PARSESEG_TYPE_NOT_SUPPORT_SQL_PARSE
1010250000009ID_TYPE_NOT_FOUNDID_TYPE_NOT_FOUND
1010250000010BASE_ID_TYPE_NOT_FOUNDBASE_ID_TYPE_NOT_FOUND
1010250000011BASIC_AUTH_ILLEGALBASIC_AUTH_ILLEGAL
1010250000012AUTH_ILLEGALAUTH_ILLEGAL
1010250000013ID_MAPPING_HIVE_INFO_NOT_FOUNDID_MAPPING_HIVE_INFO_NOT_FOUND
1010250000014SEG_PARAMETER_SEG_AUTH_ILLEGALSEG_PARAMETER_SEG_AUTH_ILLEGAL
1010250000015{"msg":"找不到相应的标签,标签id:...","code":"SEG_PARAMETER_TAG_AUTH_ILLEGAL"}找不到相应的标签,标签id:
1010250000016SEG_FILE_DOWNLOAD_FAILEDSEG_FILE_DOWNLOAD_FAILED
1010250000017CONSUL_REQUEST_FAILEDCONSUL_REQUEST_FAILED
1010250000018SEG_FILE_FORMAT_TYPE_NOT_SUPPORTSEG_FILE_FORMAT_TYPE_NOT_SUPPORT
1010250000019SEG_FILE_COMPRESS_FAILEDSEG_FILE_COMPRESS_FAILED
1010250000020SEG_FILE_DECOMPRESS_FAILEDSEG_FILE_DECOMPRESS_FAILED
1010250000021SEG_FILE_NOT_READYSEG_FILE_NOT_READY
1010250000022ID_MAPPING_DATA_NOT_READYID_MAPPING_DATA_NOT_READY
1010250000023PROPERTY_LOSTPROPERTY_LOST
1010250000024SEG_FILE_TOO_LARGESEG_FILE_TOO_LARGE
1010250000025SEG_FILE_NOT_FOUNDSEG_FILE_NOT_FOUND
1010250000026SEG_FILE_UPLOAD_FAILEDSEG_FILE_UPLOAD_FAILED
1010250000027NO_SUPPORT_PRIVATE_TRANS_TO_PUBLIC_ID_TYPENO_SUPPORT_PRIVATE_TRANS_TO_PUBLIC_ID_TYPE
1010250000028SEG_TYPE_NOT_SUPPORT_PREVIEW_BY_SQLSEG_TYPE_NOT_SUPPORT_PREVIEW_BY_SQL
1010250000029SEG_BITMAP_DATA_NOT_READYSEG_BITMAP_DATA_NOT_READY
1010250000030SEG_PARAMETER_CONDITION_SELF_DEPENDSEG_PARAMETER_CONDITION_SELF_DEPEND
1010250000031SEG_DOWNLOAD_DETAIL_PARAM_EXCEEDSEG_DOWNLOAD_DETAIL_PARAM_EXCEED
1010250000032DATASOURCE_LOSTDATASOURCE_LOST
1010250000033LOOKALIKE_CONFIG_NOT_FOUNDLOOKALIKE_CONFIG_NOT_FOUND
1010250000034NO_SEG_MODULE_AUTHNO_SEG_MODULE_AUTH
1010250000035SEG_TYPE_NOT_SUPPORT_REPORT_TASK_STATUSSEG_TYPE_NOT_SUPPORT_REPORT_TASK_STATUS
1010250000036SEG_DELETEDSEG_DELETED
1010250000037SEG_RUN_HISTORY_DOWNLOAD_FAILEDSEG_RUN_HISTORY_DOWNLOAD_FAILED
1010250000038UNKNOWN_CASE_IN_ENUMUNKNOWN_CASE_IN_ENUM
1010250000039SEG_DOWNLOAD_DETAIL_TABLE_EXCEEDSEG_DOWNLOAD_DETAIL_TABLE_EXCEED
1010250000040SEG_DOWNLOAD_DETAIL_NO_PARAM_CHOSENSEG_DOWNLOAD_DETAIL_NO_PARAM_CHOSEN
1010250000041PARSER_CSV_LINE_ERRORPARSER_CSV_LINE_ERROR
1010250000042DESENSITIZE_ERRORDESENSITIZE_ERROR
1010250000043PARTITION_IS_EMPTYPARTITION_IS_EMPTY
1010250000044SEG_REALTIME_TASK_CREATED_FAILEDSEG_REALTIME_TASK_CREATED_FAILED
1010250000045REALTIME_TASK_RESPONSE_LOSTREALTIME_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"}规则中没有实时输入
1010250000049EMPTY_MAUTAG_RESPONSEEMPTY_MAUTAG_RESPONSE
1010250000050SEG_DEP_RESOURCE_TYPE_NOT_FOUNDSEG_DEP_RESOURCE_TYPE_NOT_FOUND
1010250000051{"msg":"已超过可用实时资源群上限,请对已有实时标签或分群进行清理 联系火山服务人员进行扩容","code":"shREALTIME_CNT_EXCEED_MAX_LIMIT"}已超过可用实时资源群上限,请对已有实时标签或分群进行清理 联系火山服务人员进行扩容
1010250000052SEG_NOT_SUPPORT_TRANS_TO_REALTIME_SEGSEG_NOT_SUPPORT_TRANS_TO_REALTIME_SEG
1010250000053SEG_NOT_SUPPORT_TRANS_TO_OFFLINE_SEGSEG_NOT_SUPPORT_TRANS_TO_OFFLINE_SEG
1010250000054SEG_PRIVATE_TRANS_TO_PUBLIC_BEFORESEG_PRIVATE_TRANS_TO_PUBLIC_BEFORE
1010250000055SEG_REALTIME_TASK_NOT_RUNNINGSEG_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:
1010250099999UNKNOWN_ERRORUNKNOWN_ERROR
1010240400000BODY_EMPTY_ERRORBODY_EMPTY_ERROR
1010240499999METHOD_NOT_SUPPORTED_ERRORMETHOD_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":""}跨主体查询,源类型和目的类型 应该隶属于不同主体