如果成功调用事件总线EventBridge的API,则返回ResponseCode=200;如果调用失败,会返回对应的异常错误码以及描述信息。您可以根据以下异常信息对照表查找对应的解决方法。

HTTP Code 错误码 错误信息 描述
403 InvalidAccessKeyId The access Id you provided is not exist. 您提供的AccessKeyId不存在,请重新填写。
403 InvalidStsAccessKeyId The sts access Id you provided is not exist. 您提供的STS的AccessKeyId不存在,请重新填写。
403 AccountIdNotExist The resource owner accountId not exist. 资源所有者的账号ID不存在。
403 AccessDenied The OwnerId that your Access Key Id associated to is forbidden for this operation. 您没有操作权限,请确认是否已获得授权。
429 TooManyRequests The request is denied by flow limiter for too many requests. 请求过多,请稍后再试。
403 AccessDeniedByPreCheck The OwnerId that your Access Key Id associated to is forbidden by pre check. 您没有相关操作权限,请确认。
403 OptionsMethodNotEnable OPTIONS method is not enabled. OPTIONS方法未启用。
403 SecurityTokenInvalid The Security token that your provide is invalid. 您提供的临时安全凭证无效。
403 ParentAccountNotExist ParentAccountNotExist 主账号不存在,请确认。
403 ServiceAccessDenied The OwnerId that your Access Key Id associated to has not enabled EventBridge Service. 您暂未开通事件总线EventBridge服务。
403 StsAccessIdExpired The sts accessid has expired. STS访问已过期。
403 SignatureDoesNotMatch The request signature we calculated does not match the signature you provided. Check your key and signing method. 签名不匹配,请检查您的Key值和签名方法。
403 AccessDeniedForInternalRegion The account is restricted in this region. 账号在该地域受限。请更换访问地域。
403 ServiceNotEnabled The OwnerId that your Access Key Id associated to has not enabled. 服务未开通。
403 AccessDeniedByRamPolicy The request is denied by ram policy. RAM用户权限不足。
403 AccessDeniedByConsoleAction The request of console action is not support for this user. 该用户无控制台操作权限。
403 TimeExpired The http request you sent is expired. HTTP请求超时。
400 InvalidArgument The request params is invalid! 请求参数无效。
400 InvalidContent The content you send may contains illegal characters. 发送的内容不合法。
400 InvalidAuthorizationHeader The Authorization header format is invalid. Authorization不合法。
400 InvalidDateHeader The Date header format is invalid. Date不合法。
400 InvalidRequestURL URL invalid URL无效。
409 EventBusAlreadyExist "The event bus already exist 该事件总线(EventBus)已存在。
409 EventBusNameEmpty The event bus name is empty 事件总线(EventBus)名称为空。
409 EventBusNameInvalid The name of event bus in request is invalid! 请求中的事件总线(EventBus)名称无效。
409 EventBusNameDefaultInvalid 'default' can not be used as customer's event bus 自定义事件总线(EventBus)不能命名为default。
409 TryingToDeleteDefaultEventBus The default event bus can not be deleted 不能删除默认事件总线(EventBus)。
400 EventEntryEmpty The event entry is empty in request! 事件输入为空。
400 PutEventsRequestLengthExceedLimit The length of putEvents request exceed max size limit PutEvents请求的长度超过最大限制。
400 PutEventsRequestBatchSizeExceedLimit The batch size of putEvents request exceed max size limit 批量发布的事件数量超过最大限制。
400 EventEntryInvalid The event entry is invalid in request! 事件体无效。
400 EventEntrySourceFieldInvalid The source field of event entry is invalid in request! 事件体的source字段无效。
400 EventEntryTypeFieldInvalid The type field of event entry is invalid in request! 事件体的type字段不合法。
400 DefaultEventBusForbidden The default bus are not accessible for customer! 没有访问默认事件总线(EventBus)的权限。
400 EventEntrySizeExceed The single event entry size exceed limit! 单个事件体大小超过限制。
400 EventEntryEventBusInvalid EventEntryEventBusInvalid 事件总线(EventBus)中的事件体无效。
400 EventBusNotExist The event bus to put event is not exist! 用于发布事件的事件总线(EventBus)不存在。
400 EventSourceNotExist The event source in request is not exist! 事件源不存在。
400 EventSourceNameNullOrEmpty The event source name in request is null or empty! 事件源名称为空。
400 EventSourceTypeNullOrEmpty The event source type in request is null or empty! 事件源类型为空。
400 EventSourceAlreadyExist The event source created has already exist! 创建的事件源已存在。
400 EventSourceParamInvalid The event source param is invalid! 事件源参数无效。
400 EventTargetAlreadyExist The event target created has already exist! 创建的事件目标已存在。
400 EventTargetNotExist The event target delete has not exist! 需删除的事件目标不存在。
400 AddEventTypeParamsInvalid The params for addEventType is invalid! addEventType参数无效。
400 EventTypeAlreadyExist The event type in request already exist! 事件类型已存在。
400 EventTypeNotExist The event type not exist! 事件类型不存在。
400 EventRuleNotExisted The event rule not existed! 事件规则不存在。
400 EventRuleNameEmpty The name of event rule in request is empty! 事件规则的名称为空。
400 EventRuleNameInvalid The name of event rule in request is invalid! 事件规则的名称无效。
400 EventBusRuleNotEmptyForDelete The rules of eventbus exist, please delete them before delete event bus 事件总线(EventBus)下还有未删除的事件规则。请删除这些事件规则后再删除事件总线。
400 EventRuleFilterPatternEmpty The filter pattern of rule is empty! 事件规则中的事件过滤模式为空。
400 EventRuleSourceEmpty The source of event rule in request is empty! 事件规则中的事件源为空。
400 EventRuleEventTypesEmpty The eventTypes of event rule in request is empty! 事件规则中的事件类型为空。
400 EventRuleTargetsEmpty The targets of event rule in request is empty! 事件规则中的事件目标为空。
400 EventRuleEventTypeNotSupport The event type in rule is not support! 不支持规则中的事件类型。
400 EventRuleAlreadyExist The event rule in request already exist! 请求中的事件规则已存在。
400 EventRuleCountExceedLimit The event rule count must not exceed limit for each event bus! 每个事件总线(EventBus)下的事件规则数量不能超出限制。
400 EventRuleFilterPatternSchemaError The filter pattern is invalid! 事件过滤模式无效。
400 EventRuleFilterPatternExceedLimit The expression for field in filter pattern exceed count limit! 事件过滤模式的字段描述超过限制。
400 EventRuleInvalid The event rule is invalid. 事件规则无效。
400 EventRuleStatusParamError The status param of rule is invalid! 事件规则的status参数无效。
400 EventRuleTargetIdInvalid The id of event target is invalid! 事件目标ID无效。
400 EventRuleTargetIdDuplicate The id of event target is duplicate! 事件目标ID重复。
400 EventRuleTargetInvalid The target in event rule is invalid! 事件规则中的目标无效。
400 EventRuleTargetFormatTypeInvalid The format type of event target is invalid! 事件目标的类型无效。
400 EventRuleTargetRetryStrategyInvalid The retry strategy of event target is invalid! 事件目标的重试策略无效。
400 EventRuleTargetsCountExceeded The number of targets exceed limit 事件目标超出限制。
400 EventRuleTargetNotExist The target is not exist in event rule! 事件规则中不存在该事件目标。
500 Timeout Request timeout 请求超时。
500 InternalError Unknown system error 未知的系统报错。