有赞新零售社区

发帖
API使用问题»调用订单发货状态及订单备注报错

[API调用-其它] 调用订单发货状态及订单备注报错

zhao 2 天前 116 浏览 6 评论 | 只看楼主 [打印]
应用名称:刺猬网升级改造
App Id:10004491
店铺名称:刺猬到家96656
店铺编号:614782709
发货接口:youzan.logistics.online.confirm.3.0.0
订单备注:youzan.trade.memo.update.3.0.0

发货状态接口失败:
feign.FeignException$InternalServerError: [500] during [POST] to [http://mall4cloud-xxljob/push/confirmToYouzan] [PushFeignClient#confirmToYouzan(ConfirmOrderDTO)]: [{"timestamp":"2024-11-19 10:52:32","status":500,"error":"Internal Server Error","path":"/push/confirmToYouzan"}]        at feign.FeignException.serverErrorStatus(FeignException.java:259)        at feign.FeignException.errorStatus(FeignException.java:206)        at feign.FeignException.errorStatus(FeignException.java:194)        at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:104)        at feign.ResponseHandler.decodeError(ResponseHandler.java:136)        at feign.ResponseHandler.handleResponse(ResponseHandler.java:70)        at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:114)        at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:70)        at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:96)        at org.springframework.cloud.openfeign.FeignCachingInvocationHandlerFactory$1.proceed(FeignCachingInvocationHandlerFactory.java:66)        at org.springframework.cache.interceptor.CacheInterceptor.lambda$invoke$0(CacheInterceptor.java:54)        at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:351)        at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:64)        at org.springframework.cloud.openfeign.FeignCachingInvocationHandlerFactory.lambda$create$1(FeignCachingInvocationHandlerFactory.java:53)        at jdk.proxy2/jdk.proxy2.$Proxy171.confirmToYouzan(Unknown Source)        at com.mall4j.cloud.order.service.impl.OrderServiceImpl.handleYouzanDelivery(OrderServiceImpl.java:487)        at com.mall4j.cloud.order.service.impl.OrderServiceImpl.assignOrder(OrderServiceImpl.java:425)        at jdk.internal.reflect.GeneratedMethodAccessor520.invoke(Unknown Source)        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.base/java.lang.reflect.Method.invoke(Method.java:568)        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:751)        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:391)        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:751)        at io.seata.spring.annotation.GlobalTransactionalInterceptor$2.execute(GlobalTransactionalInterceptor.java:204)        at io.seata.tm.api.TransactionalTemplate.execute(TransactionalTemplate.java:130)        at io.seata.spring.annotation.GlobalTransactionalInterceptor.handleGlobalTransaction(GlobalTransactionalInterceptor.java:201)        at io.seata.spring.annotation.GlobalTransactionalInterceptor.invoke(GlobalTransactionalInterceptor.java:171)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:751)        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:703)        at com.mall4j.cloud.order.service.impl.OrderServiceImpl$$SpringCGLIB$$0.assignOrder(<generated>)        at com.mall4j.cloud.order.controller.platfrom.OrderController.assignOrder(OrderController.java:51)        at jdk.internal.reflect.GeneratedMethodAccessor519.invoke(Unknown Source)        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.base/java.lang.reflect.Method.invoke(Method.java:568)        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)        at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)        at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at com.mall4j.cloud.common.security.filter.AuthFilter.doFilter(AuthFilter.java:122)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)订单备注:feign.FeignException$InternalServerError: [500] during [GET] to [http://mall4cloud-xxljob/push/toRemark?tid=E20241119104538090206163&remark=%E8%8E%B1%E8%A5%BF%E7%9F%B3%E5%B2%9B%E5%8A%A0%E7%9B%9F%E5%BA%97%2Cnull] [PushFeignClient#toRemark(String,String)]: [{"timestamp":"2024-11-19 10:52:38","status":500,"error":"Internal Server Error","path":"/push/toRemark"}]        at feign.FeignException.serverErrorStatus(FeignException.java:259)        at feign.FeignException.errorStatus(FeignException.java:206)        at feign.FeignException.errorStatus(FeignException.java:194)        at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:104)        at feign.ResponseHandler.decodeError(ResponseHandler.java:136)        at feign.ResponseHandler.handleResponse(ResponseHandler.java:70)        at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:114)        at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:70)        at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:96)        at org.springframework.cloud.openfeign.FeignCachingInvocationHandlerFactory$1.proceed(FeignCachingInvocationHandlerFactory.java:66)        at org.springframework.cache.interceptor.CacheInterceptor.lambda$invoke$0(CacheInterceptor.java:54)        at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:351)        at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:64)        at org.springframework.cloud.openfeign.FeignCachingInvocationHandlerFactory.lambda$create$1(FeignCachingInvocationHandlerFactory.java:53)        at jdk.proxy2/jdk.proxy2.$Proxy171.toRemark(Unknown Source)        at com.mall4j.cloud.order.service.impl.OrderServiceImpl.handleRemarkToYouzan(OrderServiceImpl.java:513)        at com.mall4j.cloud.order.service.impl.OrderServiceImpl.assignOrder(OrderServiceImpl.java:429)        at jdk.internal.reflect.GeneratedMethodAccessor520.invoke(Unknown Source)        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.base/java.lang.reflect.Method.invoke(Method.java:568)        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:751)        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:391)        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:751)        at io.seata.spring.annotation.GlobalTransactionalInterceptor$2.execute(GlobalTransactionalInterceptor.java:204)        at io.seata.tm.api.TransactionalTemplate.execute(TransactionalTemplate.java:130)        at io.seata.spring.annotation.GlobalTransactionalInterceptor.handleGlobalTransaction(GlobalTransactionalInterceptor.java:201)        at io.seata.spring.annotation.GlobalTransactionalInterceptor.invoke(GlobalTransactionalInterceptor.java:171)        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:751)        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:703)        at com.mall4j.cloud.order.service.impl.OrderServiceImpl$$SpringCGLIB$$0.assignOrder(<generated>)        at com.mall4j.cloud.order.controller.platfrom.OrderController.assignOrder(OrderController.java:51)        at jdk.internal.reflect.GeneratedMethodAccessor519.invoke(Unknown Source)        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.base/java.lang.reflect.Method.invoke(Method.java:568)        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:884)        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1081)        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:974)        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)        at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)        at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at com.mall4j.cloud.common.security.filter.AuthFilter.doFilter(AuthFilter.java:122)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:109)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)        at java.base/java.lang.Thread.run(Thread.java:842)
用手机打开
收藏 ··· 回复
    尊敬的有赞用户 您好,我们已收到您的问题,并已安排相关技术支持正在处理中,请耐心等待。建议您留言邮箱地址,问题进度将通过邮件提醒方式触达,减少论坛等待时间。

      zhao 青铜   2 天前 | 只看该作者
      zhaoxj66240@126.com
      • 已经核实:已经查询日志这个报错不是有赞返回的,这个报错的代码都不是有赞的
        你提供的报错代码请求的接口为:[POST] to [http://mall4cloud-xxljob/push/confirmToYouzan】

      已经核实:已经查询日志这个报错不是有赞返回的,这个报错的代码都不是有赞的
      你提供的报错代码请求的接口为:[POST] to [http://mall4cloud-xxljob/push/confirmToYouzan】

        zhao 青铜   昨天 | 只看该作者
        push/confirmToYouzan是我们的接口内部是调用的有赞发货、备注的,报错信息是看下有关有赞的就行,而且调用有赞接口时而成功时而失败

          根据日志无法得知与有赞相关的信息,请提供调用有赞接口后response返回的traceid yz7这种我们排查下,

            1跳至
            您需要登录后才可以回帖 登录 | 立即注册

            本版积分规则

            复制链接
            新浪微博
            QQ空间
            微信扫码
            • 回复

            • 评分

            客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

            复制成功