Closed houleeway closed 3 months ago
您好开发者, 我们已收到你的问题, 已通知开发团队进行处理! 如您未阅读我们的开发文档,可先参阅开发文档 小红书问题处置流程 :sparkles: 感谢您的提问!:sparkles:
含有报错的日志: 2022-12-09 20:49:20.405 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] ---> POST https://miniapp.xiaohongshu.com/api/rmp/token HTTP/1.1 2022-12-09 20:49:20.405 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] Content-Length: 80 2022-12-09 20:49:20.405 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] Content-Type: application/json 2022-12-09 20:49:20.405 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] 2022-12-09 20:49:20.405 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] {"appid":"635a8a86cbe21a00013679c5","secret":"e2a584fad5aaa381b166dd04fbf3d02d"} 2022-12-09 20:49:20.405 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] ---> END HTTP (80-byte body) 2022-12-09 20:49:20.478 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] <--- HTTP/1.1 200 OK (73ms) 2022-12-09 20:49:20.479 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] cat-msg-id: openapiminiapp-ac1977b2.0062704-464052-6233 2022-12-09 20:49:20.479 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] cat-msg-id: karen-gateway-s123public-ac1f17d2.64218-464052-3916068 2022-12-09 20:49:20.479 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] connection: keep-alive 2022-12-09 20:49:20.480 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] content-type: application/json;charset=UTF-8 2022-12-09 20:49:20.480 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] date: Fri, 09 Dec 2022 12:49:20 GMT 2022-12-09 20:49:20.480 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] request-id: df7a79063f2c4922831bc81d0f19b5aa 2022-12-09 20:49:20.480 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] transfer-encoding: chunked 2022-12-09 20:49:20.480 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] via: kong/1.2.1 2022-12-09 20:49:20.480 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] x-kong-proxy-latency: 3 2022-12-09 20:49:20.481 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] x-kong-upstream-latency: 20 2022-12-09 20:49:20.481 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] 2022-12-09 20:49:20.482 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] {"data":{"access_token":"10e37f897cce44a884a2eb15616a2682","expire_in":7199},"success":true,"msg":"success","code":0} 2022-12-09 20:49:20.483 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#token] <--- END HTTP (117-byte body) 2022-12-09 20:49:20.487 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] ---> POST https://miniapp.xiaohongshu.com/api/rmp/mp/deal/product/get?appid=635a8a86cbe21a00013679c5&access_token=10e37f897cce44a884a2eb15616a2682 HTTP/1.1 2022-12-09 20:49:20.487 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] Content-Length: 40 2022-12-09 20:49:20.488 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] Content-Type: application/json 2022-12-09 20:49:20.488 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] 2022-12-09 20:49:20.488 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] {"out_product_id":"1594977617244319755"} 2022-12-09 20:49:20.488 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] ---> END HTTP (40-byte body) 2022-12-09 20:49:20.546 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] <--- HTTP/1.1 500 Internal Server Error (58ms) 2022-12-09 20:49:20.546 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] cat-msg-id: openapiminiapp-ac1977b2.0062704-464052-6234 2022-12-09 20:49:20.546 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] cat-msg-id: karen-gateway-s123public-ac19c009.64218-464052-3916078 2022-12-09 20:49:20.546 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] connection: keep-alive 2022-12-09 20:49:20.546 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] content-type: application/json;charset=UTF-8 2022-12-09 20:49:20.546 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] date: Fri, 09 Dec 2022 12:49:20 GMT 2022-12-09 20:49:20.546 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] request-id: 9fd4241f23d94695a3847f0005c2931f 2022-12-09 20:49:20.546 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] transfer-encoding: chunked 2022-12-09 20:49:20.546 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] via: kong/1.2.1 2022-12-09 20:49:20.546 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] x-kong-proxy-latency: 3 2022-12-09 20:49:20.547 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] x-kong-upstream-latency: 27 2022-12-09 20:49:20.547 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] 2022-12-09 20:49:20.547 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] {"error_code":500,"error_msg":"Request failed, please contact our system administrator 请求失败, 请和系统管理人员联系","success":false} 2022-12-09 20:49:20.547 DEBUG 2452 --- [io-8080-exec-10] c.g.t.h.feign.XiaohongshuFeignProvider : [XiaohongshuFeignProvider#productGet] <--- END HTTP (149-byte body) 2022-12-09 20:49:20.548 ERROR 2452 --- [io-8080-exec-10] o.a.c.c.C.[.[.[.[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [/tm-admin] threw exception [Request processing failed; nested exception is feign.FeignException$InternalServerError: [500 Internal Server Error] during [POST] to [https://miniapp.xiaohongshu.com/api/rmp/mp/deal/product/get?appid=635a8a86cbe21a00013679c5&access_token=10e37f897cce44a884a2eb15616a2682] [XiaohongshuFeignProvider#productGet(String,String,XhsProductGetRequestDto)]: [{"error_code":500,"error_msg":"Request failed, please contact our system administrator 请求失败, 请和系统管理人员联系","success":false}]] with root cause
feign.FeignException$InternalServerError: [500 Internal Server Error] during [POST] to [https://miniapp.xiaohongshu.com/api/rmp/mp/deal/product/get?appid=635a8a86cbe21a00013679c5&access_token=10e37f897cce44a884a2eb15616a2682] [XiaohongshuFeignProvider#productGet(String,String,XhsProductGetRequestDto)]: [{"error_code":500,"error_msg":"Request failed, please contact our system administrator 请求失败, 请和系统管理人员联系","success":false}]
at feign.FeignException.serverErrorStatus(FeignException.java:231) ~[feign-core-10.12.jar:na]
at feign.FeignException.errorStatus(FeignException.java:180) ~[feign-core-10.12.jar:na]
at feign.FeignException.errorStatus(FeignException.java:169) ~[feign-core-10.12.jar:na]
at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:92) ~[feign-core-10.12.jar:na]
at feign.AsyncResponseHandler.handleResponse(AsyncResponseHandler.java:96) ~[feign-core-10.12.jar:na]
at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138) ~[feign-core-10.12.jar:na]
at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:89) ~[feign-core-10.12.jar:na]
at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:100) ~[feign-core-10.12.jar:na]
at com.sun.proxy.$Proxy152.productGet(Unknown Source) ~[na:na]
at com.geely.tiktokminiprogramadmin.http.XhsClient.productGet(XhsClient.java:155) ~[classes/:na]
at com.geely.tiktokminiprogramadmin.controller.XhsProductController.getProductFromxhs(XhsProductController.java:127) ~[classes/:na]
at com.geely.tiktokminiprogramadmin.controller.XhsProductController$$FastClassBySpringCGLIB$$e2426d6f.invoke(
麻烦提供一下请求失败的完整http请求
系统环境(必填[多选]) +
问题模块(必填[单选]) +
服务商名称(必填[单选]) - 排名不分先后 +
基础库版本或小红书APP版本(必填) +
v7.65.1 + +
重现步骤 和 复现问题的最小demo Github链接 +
问题描述:在商品-获取信息接口中,为了删除一个商品测试数据,对其查看详情和删除操作,都报500错误。但查询商品列表时,能正常查询到。 out_product_id:1594977617244319755 代码中测试数据截图 https://holyv.oss-cn-hangzhou.aliyuncs.com/%E6%B5%8B%E8%AF%95%E6%95%B0%E6%8D%AE%E6%88%AA%E5%9B%BE.png?Expires=1670571525&OSSAccessKeyId=TMP.3Kf1FGkKVCwdMiqMGAV4GNbxnxSwHQ4qWrmC75uZeRXp58rM2YWDLPyx2CfWZe9gMYSXUbNV54R41bekeaxNUqQCc53XV9&Signature=qip7Fo91T4aCPb2JHC9JQwJUQmY%3D
小程序前端截图 https://holyv.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F%E7%AB%AF%E6%88%AA%E5%9B%BE.jpeg?Expires=1670571337&OSSAccessKeyId=TMP.3Kf1FGkKVCwdMiqMGAV4GNbxnxSwHQ4qWrmC75uZeRXp58rM2YWDLPyx2CfWZe9gMYSXUbNV54R41bekeaxNUqQCc53XV9&Signature=iLrnSvrC2vOGdIVkDZShZhtHSoo%3D + +
期望结果 和 实际结果(必填) +
删去该测试商品数据 + +
补充(猜测可能的原因是什么,你有啥想法,选填) +
小程序bug?