收藏
回答

SDK上报错误,WXADErrorResponse类型不匹配?

[10:22:44] [JsonMapper] ToObject<T>(string) Error, object type: WeChatWASM.WXADErrorResponse, json: {"callbackId":"TjZZjmmMeYw2u2c7VgQU","errMsg":"operateWXDataForAd:fail:cgi fail(3,-1)","errCode":"0"}

[10:22:44] JsonException: Can't assign value '0' (type System.String) to type System.Int32

at LitJson.JsonMapper.ReadValue (System.Type inst_type, LitJson.JsonReader reader) [0x00000] in <00000000000000000000000000000000>:0


[10:24:19] [JsonMapper] ToObject<T>(string) Error, object type: WeChatWASM.WXADErrorResponse, json: {"callbackId":"TjZZjmmMeYw2u2c7VgQU","errMsg":"operateWXDataForAd:fail:cgi fail(3,-1)","errCode":"0"}

[10:24:19] JsonException: Can't assign value '0' (type System.String) to type System.Int32

at LitJson.JsonMapper.ReadValue (System.Type inst_type, LitJson.JsonReader reader) [0x00000] in <00000000000000000000000000000000>:0


[10:26:49] [JsonMapper] ToObject<T>(string) Error, object type: WeChatWASM.WXADErrorResponse, json: {"callbackId":"TjZZjmmMeYw2u2c7VgQU","errMsg":"operateWXDataForAd:fail:cgi fail(3,-1)","errCode":"0"}

[10:26:49] JsonException: Can't assign value '0' (type System.String) to type System.Int32

at LitJson.JsonMapper.ReadValue (System.Type inst_type, LitJson.JsonReader reader) [0x00000] in <00000000000000000000000000000000>:0



回答关注问题邀请回答
收藏
登录 后发表内容