卡片短信错误码

调用API接口失败时,会返回接口调用错误码,本文为您介绍卡片短信错误码。

通用类

错误码

错误描述

说明

OK

成功

成功

SYSTEM_ERROR

System error

系统错误

FORBIDDEN_ACTION

Illegal operation

非法操作,Action不正确

获取媒体资源

错误码

错误描述

说明

MissingParameter

param res must be not empty

输入参数不能为空

MissingParameter

param resUrl must be not empty

资源URL(OSSKey)不能为空

InvalidParameter

param pid must be not empty

PID不能为空

InvalidParameter

param resUrl (OSSKey) be not exist

资源URL(OSSKey)不存在

InvalidParameter

param resType must be not empty

资源类型不能为空

MissingParameter

param fileSize must be not empty

文件大小不能为空

InnerError

can not find any vendor

无法找到有效的供应商

InnerError

save vendor resource fail

获取媒体资源服务出现异常

创建模板

错误码

错误描述

说明

InvalidParameter

param partner id must be not empty or < 0

入参PID不能为空或不能小于0

MissingParameter

param template content must be not empty

入参模板内容不能为空

MissingParameter

param template name must be not empty

入参模板名称不能为空

MissingParameter

param template must be not empty

入参模板不能为空

InvalidParameter

param templateName length must < 20

入参模板名称,长度必须小于20个字符

MissingParameter

param TemplateContent's pages must be not empty

入参模板内容中page不能为空

InvalidParameter

param cardType invalid

入参卡片模板类型无效

MissingParameter

param extendInfo must be not empty

入参模板内容中拓展信息不能为空

MissingParameter

param scene must be not empty

入参拓展信息中使用场景不能为空

InvalidParameter

param scene must < 10

入参拓展信息中使用场景长度必须小于10个字符

InvalidParameter

param factory is invalid, factory

入参需要提交的厂商有无效数据

MissingParameter

param cardSignName must be not empty

入参签名不能为空

InvalidParameter

srcType need 1 or 2, but srcType

模板内容中pages:srcType必须是12

InvalidParameter

Action & actionType required

图片、按钮类型必须携带actionactionType

InvalidParameter

image or video type,src required

图片、视频类型必须有src地址

InvalidParameter

src is required

资源地址类型为2,src必填

InvalidParameter

srcType is 2. src must start with http or https

资源地址类型为2,src必须是HTTPHTTPS开头

InvalidParameter

srcType is 2. src length too long, it need < 1000

资源地址类型为2,src地址超过长度限制,必须小于1000个字符

InvalidParameter

srcType is 2. video cover is required

资源地址类型为2,资源为视频时,封面必填

InvalidParameter

srcType is 2. cover must start with http or https, src

资源地址类型为2,资源为视频时,封面src必须是HTTPHTTPS开头

InvalidParameter

srcType is 2. cover length too long, it need < 1000

资源地址类型为2,资源为视频时,src地址长度必须小于1000个字符

InvalidParameter

srcType is 1. can not find res resId

资源地址类型为1,通过resId没有找到资源

InvalidParameter

srcType is 1. resource unknown type

资源地址类型为1,找到未知的资源类型

InvalidParameter

src和实际类型不匹配 wish image, but src

资源类型和实际查出的资源类型不匹配,应该为图片

InvalidParameter

src和实际类型不匹配 wish video, but src

资源类型和实际查出的资源类型不匹配,应该为视频

InvalidParameter

video cover is required

视频的封面必填

InvalidParameter

can not find res cover

在资源里没查到封面

InvalidParameter

resource unknown type

视频资源是未知的类型

InvalidParameter

cover和实际类型不匹配 wish image, but cover

视频的封面和实际类型不匹配,应该为图片

InvalidParameter

text 没有携带 isTextTitle字段

资源类型为文本时,isTextTitle字段必填

InnerError

can not find any vendor

没找到任何可用的供应商

InnerError

custom factory not match tmpType factory. factory

自定义的厂商,没有匹配模板类型的厂商

InnerError

factory not match tmpType. factories

自定义的厂商,没有匹配模板类型的厂商

InnerError

save tmp fail

保存模板失败

InvalidParameter

param cardType must be 1-20

模板cardType必须是1~20

ThreeAbnormal

call MW upload resource interface fail: + 梦网返回异常

调用梦网提交模板接口异常:梦网返回异常信息

AddTemplateError

add partner template error

未知错误,添加模板失败

查询模板状态

错误码

错误描述

说明

MissingParameter

param tmpInfo must be not empty

TmpInfo参数不能为空

InvalidParameter

param pid must not be < 1

不是有效PID

效果统计查询

错误码

错误描述

说明

InvalidParameter

param pid must be not < 1

无效PID

InvalidParameter

param tmpCode is empty

TmpCode不能为空

InvalidParameter

param tmpCode size max 100

tmpCode长度小于100个字符

InvalidParameter

param startDate is null

startDate不能为空

InvalidParameter

Time span no more than 90 days

查询范围不能超过90

发送(批量发送)卡片短信

错误码

错误描述

说明

InvalidParameter

cardTemplateParamJson.size not equal phoneNumberJson.size

cardTemplateParamJsonphoneNumberJson大小必须一致

InvalidParameter

smsUpExtendCodeJson.size not equal phoneNumberJson.size

smsUpExtendCodeJsonphoneNumberJson的大小必须一致

InvalidParameter

duplicate phoneNumber

重复的手机号码

card template NotFound

The resource of "card template " is not found

卡片模板资源未找到

card template+size NotFound

The resource of "card template + size " is not found

卡片模板资源未找到

InvalidParameter card template state

The specified parameter " card template state" is not valid

卡片模板状态不可用

card template ext NotFound

The resource of "card template ext " is not found

卡片模板拓展信息未找到

sms_tmp_code ext NotFound

The resource of "sms_tmp_code " is not found

卡片模板短信编码未找到

InvalidParameter

param tmpCode must be not empty

入参模板编码不能为空

InvalidParameter

param cardMobiles must be not empty and cardMobiles size <10000

入参手机号码个数不能为空,且不能大于10000

InvalidParameter

param cardMobiles extData size must <320

入参手机号码拓展数据必须小于320

InvalidParameter

can not find anything tmpOp by tmpCode:" + tmpCode + " or the template is disabled"

通过模板编码未找到任何厂商信息或者模板为不可用

InvalidParameter

can not find anything vendorConfig by vendorIds

未找到任何厂商配置信息

InvalidParameter

can not find tmpOp by vendorId

未找到厂商模板信息

ThreeAbnormal

call MW cardSmsSupportCheckUrl interface fail: + 梦网返回异常

调用梦网卡片短信是否支持接口异常:梦网返回异常信息

获取卡片短信短链

错误码

错误描述

说明

MissingParameter

getShortUrl params is required

获取短链的入参必填

InvalidParameter

cardTemplateParamJson.size not equal phoneNumberJson.size

cardTemplateParamJsonphoneNumberJson大小必须一致

InvalidParameter

smsUpExtendCodeJson.size not equal phoneNumberJson.size

smsUpExtendCodeJsonphoneNumberJson的大小必须一致

InvalidParameter

param signs must be not empty and size not > 10 and every sign length <18

签名不能为空且数量不超过10,每个签名长度小于18个字符

InvalidParameter

param customUrl must start with http or https

自定义URL必须以HTTPHTTPS开头

InvalidParameter

param customUrl length need < 128

自定义URL长度必须小于128个字符

InvalidParameter

param mobile is required

mobile必填

InvalidParameter

mobile length range 1-64

mobile的长度为1~64个字符

InvalidParameter

param tmpOpId must be >1

入参tmpOpId必须大于1

InvalidParameter

cardCodeType value is 1 or 2

入参cardCodeType的值必须是1或者2

InvalidParameter

generationType value is 1 or 2

generationType的值必须是1或者2

InvalidParameter

generationType is 2 ,domain is required

generationType值是2时,domain必填

InvalidParameter

generationType is 2 ,domain is too long ,domain length need < 100

generationType值是2时,domain长度必须小于100个字符

InvalidParameter

generationType is 2 ,customShortCode is required

generationType值是2时,customShortCode必填

InvalidParameter

generationType is 2 ,The value of customShortCode ranges from 4 to 8 characters

generationType值是2时,customShortCode长度范围为4~8个字符

InvalidParameter

The value of expireTimes ranges from 1 to 7

expireTimes的范围值为1-7

InvalidParameter

param tmpOpId can not find or tmp is disabled

通过tmpOpId未查到厂商模板信息或不可用

InvalidParameter

vendor not supported

厂商不支持

InvalidParameter

domain is not in pid domain whitelist

域名没有在PID的白名单中

InvalidParameter

param outId or channel too long

入参outIdchannel太长

ThreeAbnormal

call MW getVendorShortUrl interface fail: + 梦网返回异常

调用梦网获取厂商短链接口异常:梦网返回异常信息

卡片短信能力校验

错误码

错误描述

说明

MissingParameter

param tmpCode must be not empty

模板编码不能为空

InvalidParameter

can not find anything tmpOp by tmpCode

根据模板code没有找到任何厂商模板信息

InvalidParameter

param cardMobiles must be not empty and cardMobiles size <10000

入参手机号码不能为空或者不能超过10000

InvalidParameter

param cardMobiles extData size must <320

入参手机号码长度扩展数据长度必须小于320

InvalidParameter

can not find anything vendorConfig by vendorIds

根据厂商ID没有找到任何厂商配置信息

ThreeAbnormal

call MW cardSmsSupportCheckUrl interface fail: + 梦网返回异常

调用梦网卡片短信是否支持接口异常:梦网返回异常信息