ErrLookup › JeffreySu/WeiXinMPSDK

JeffreySu/WeiXinMPSDK

微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 10.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#. · C# · 2,438 source files

Analyzed at be573f6f94 on 2026-09-12. 195 documented errors.

Code / MessageTypeSeverityTags
未获取到用于加密收款用户姓名的微信支付公钥或平台证书。
exception error tenpay, encryption, missing-public-key, config
不支持的文件摘要算法:
exception error hash, unsupported-algorithm, validation, wechat-pay
buttonGroupBase不可以为空!
validation error weixin, menu, null-argument
fileStream
exception error wechat-pay, multipart-upload, null-argument
data
validation error wxopen, xpay, argument-null, signing
MsgType: 在ResponseMessageFactory中没有对应的处理程序!
exception error weixin, xml-parsing, unknown-msg-type, message-factory
智能机器人长连接尚未建立。
exception error websocket, invalid-state-transition, connection, smart-robot
operation
validation error argument-null, api-client, work-weixin
MsgType: 在RequestMessageFactory中没有对应的处理程序!
exception error wechat, messagehandler, unknown-msgtype, factory
tenPayV3Info 参数不能为空!
exception error wechat-pay, tenpay-v3, null-argument
UN_REGISTER_ALERT
exception error jsapi-ticket, not-registered, startup-config
当 为 时, 必填!,且 为null!
validation error tenpay, marketing, partnerships, validation
凭据提供器返回了空 CorpSecret。
exception error credential-provider, empty-secret, runtime
data 不能为 null!
validation error wechat-pay, null-argument, http-post
{errmsg}
exception error wechat-work, menu, api-error, not-found
当前目标框架不提供 AES-GCM。请在 netstandard2.1、netcoreapp3.1…
exception error cryptography, aes-gcm, platform-not-supported, multi-targeting
brandApiCredentials
exception error null-argument, tenpay, decryption
当 为 时, 必填!
validation error tenpay, marketing, validation, coupon
品牌 API 密钥不能为空。
validation error missing-api-key, tenpay, decryption
凭据提供器返回了空 AppSecret。
exception critical weixin, wxopen, credentials, configuration, appsecret
品牌 API 通知的微信支付公钥 ID 与配置不匹配。
exception error wechat-pay, signature-verification, config-mismatch, callback
Finance SDK 返回了无效的 长度: 。
exception error native-interop, finance-sdk, invalid-data
RequestMessage转换出错!可能是MsgType不存在!,XML:
exception error wechat, xml-parsing, message-conversion, request-message-factory
{ex.Message}
exception error wechat-work, menu, parsing, wrapped-exception
为'Order_Paid'与
validation error tenpay, payscore, validation, sync
微信公众号不支持 IResponseMessageMpNews 响应类型
exception error wechat, messagehandler, mpnews, unsupported-response-type, platform
DefaultMessageHandlerAsyncEvent 类型未作处理:
exception error wechat-sdk, csharp, message-handler, invalid-enum, internal-state
credentialProvider
validation error argument-null, credential-provider, dependency-injection
ResponseMessageBase.CreateFromRequestMessage
exception error generic-factory, enum-parsing, exception-wrapper
CorpId 不能为空。
validation error argument-validation, corpid, registration
此appId尚未注册,请先使用WxCardApiTicketContainer.Register完成注册(全局执行一次即…
exception error wechat-sdk, csharp, registration, appid, cache-container
Native AOT 不支持未注册的 H5 场景类型:
exception error native-aot, json-serialization, weixin-tenpay, h5
OpenHardwareCallbackCryptException (decrypt failed…
error_code error callback, crypto, signature, open-hardware
JSON 反序列化结果为空,目标类型:
exception error csharp, json, serialization, weixin
单击按钮的key不能为空!
validation error wechat-work, menu, validation, weixinmenusexception
RequestAsync 签名验证失败:
exception error wechat-pay, signature-verification, http, security
httpContext.Request.Url 不能为null!
exception error httpcontext, oauth, null-reference, asp-net
品牌 API 响应的微信支付公钥 ID 与配置不匹配。
exception critical signature-verification, configuration, security
微信请求发生错误(CommonApi.GetToken)!错误代码:
exception error wechat-work, authentication, api-error, token
RequestMessage转换出错!可能是InfoType不存在!,XML:
exception error weixin-open, message-factory, xml-parsing, schema-mismatch
SmartRobotWebSocketClient
exception error object-disposed, websocket, lifetime, smart-robot
执行WeixinResult时提供的MessageHandler不能为Null!
exception error csharp, aspnet, weixin, mvc
未知的Event下属请求信息
exception error wechat-work, unknown-event, message-handler
微信公众号不支持 IRequestMessageMiniProgramPage 响应类型
exception error wechat, messagehandler, miniprogram, unsupported-request-type, platform
GetInstance 失败,此类型无法自动生成:
exception error reflection, generics, instantiation
registrationKey 不能为空。
validation error argument-validation, registration, access-token
品牌 API 密钥必须是有效的 PEM 或 Base64 DER。
validation error configuration, format-validation, keys
ResponseMessageBase.CreateFromResponseXml
exception error xml, parse-error, exception-wrapper
未生成类型 的 JSON 元数据。
exception error json-serialization, source-generation, native-aot, weixin-tenpay
InfoType: 在RequestMessageFactory中没有对应的处理程序!
exception error weixin-work, message-factory, unknown-infotype, callback-event
注册委托数量已达到上限 。
exception error csharp, weixin, container, capacity
未知的外部联系人事件Event.CHANGE_EXTERNAL_CONTACT下属请求信息
exception error wechat-work, external-contact, unknown-event
微信公众号不支持 IRequestMessageFile 请求类型
exception error weixin, wxopen, message-handler, file-message, unsupported
ResponseMessage转换出错!可能是MsgType不存在!,XML:
exception error weixin, xml-parsing, schema
开放硬件回调正文必须包含非空 encrypt 字段。
validation warning callback, validation, open-hardware
必须等于 乘以 !
validation error tenpay, marketing, validation, coupon
AppKey 不能为空。
validation error argument, null, constructor, config, wechat-work
未知的客户群变更事件Event.CHANGE_EXTERNAL_CHAT下属请求信息
exception error wechat-work, external-chat-event, unknown-event
Section is not found.
exception error configuration, redis, config-section, dotnet
必须指定待分账的接收方列表
validation error null-argument, profit-sharing, weixin-tenpay
当前已有 个注册委托,不能把容量降低到 。
exception error csharp, weixin, container, state
请求未提供 sig 时必须提供收银台 API 调用密钥。
validation error argument, validation, signature, wework-paytool
没有找到合适的消息类型。
exception error wechat-work, message-handler, unknown-message-type
httpContext.Request 不能为null!
exception error httpcontext, oauth, null-reference, asp-net-core
没有设置证书加密类型(EncryptionType)
exception error wechat-pay, config, encryption, initialization
请使用异步方法 OnExecutingAsync()
exception error wechat, messagehandler, async, obsolete-api, deprecated
注册委托容量必须大于 0。
validation error csharp, weixin, container, capacity
收银台 API 调用密钥不能为空。
validation error argument, validation, signature, missing-secret
此appId(…
exception error csharp, weixin, unregistered-appid, configuration
注册委托数量已达到上限 ,请先注销不再使用的账号或提高 MaximumCount。
exception error csharp, weixin, container, capacity
SessionId无效(01)
exception error weixin, wxopen, session, signature, cache
MsgAuditFinanceException (native SDK returned non-zero…
error_code error csharp, native-sdk, error-code, weixin-work, finance
RequestMessage转换异常!InfoType类型存在的情况下无法处理!,XML:
exception error weixin-work, xml-parsing, entity-binding, message-factory
未知的企业客户标签变更事件Event.CHANGE_EXTERNAL_Tag下属请求信息
exception error wechat-work, external-tag-event, unknown-event
企业微信 Finance 原生库缺少导出函数:
exception critical native-library, entrypoint, version-mismatch
必须小于等于 !
validation error tenpay, marketing, validation, coupon
参数不能为空。
validation error argument-validation, empty-string, configuration, wechat-work
Finance SDK 返回的 指针为空,但长度为 。
exception error native-interop, finance-sdk, null-pointer
未知的InfoType请求类型
exception error wechat-work, third-party-suite, infotype, unknown-event
CreateFromRequestMessage过程发生异常
exception error exception-wrapper, factory, weixin-exception
ArgumentNullException (destination is null)
validation error csharp, argument-null, stream, weixin-work
未知的Event.change_contact下属请求信息
exception error wechat-work, change-contact-event, unknown-event
Finance SDK 尚未完成媒体下载,但没有返回可继续使用的新索引缓冲区。
exception error csharp, native-sdk, download, weixin-work, invalid-data
此appId尚未注册,ComponentContainer.Register完成注册(全局执行一次即可)!
exception error weixin-open, container, registration, unregistered-appid
此 appId code 尚未注册,请先使用 OAuthAccessTokenContainer.Register…
exception error csharp, weixin, oauth, unregistered-appid
文件大小上限必须大于 0。
validation error argument-out-of-range, validation, weixin-pay
ThirdPartyMessageHandler中ExecuteAsync()过程发生错误:
exception error weixin-open, message-handler, wrapper-exception, inner-exception
此appId尚未注册,请先使用JsApiTicketContainer.Register完成注册(全局执行一次即可)!
exception error csharp, weixin, jsapi-ticket, unregistered-appid
BotID 不能为空。
validation error argument, validation, websocket, smart-robot
无法解析 Finance SDK 返回的会话内容 JSON。
exception error json, deserialization, native-sdk, wecom
微信企业号不支持 IRequestMessageLink 请求类型
exception error wechat-work, link-message, not-supported
缓存策略 不支持枚举,请先检查 GetCapabilities()。
exception error cache, not-supported, pagination, senparc-weixin
此wxOpenAppId(…
exception error wxopen, access-token, unregistered-appid, initialization
与 必填其中一个.不允许都填写或都不填写
validation error tenpay, payscore, validation, parameters
上传文件超过允许上限 字节。
exception error file-size, upload, validation
SessionKey无效(02)
exception error weixin, wxopen, session, sessionkey, signature
证书中未包含 RSA 公钥。
exception error certificate, rsa, signature-verification, wechat-pay
未获取到用于加密分账接收方姓名的微信支付公钥或平台证书。
exception critical config, encryption, wechat-pay, profitsharing
Secret 不能为空。
validation error argument, validation, websocket, credentials
微信请求发生错误(CommonApi.GetStableAccessToken)!错误代码:
exception error weixin, api-error, access-token