【Java异常】feign.FeignException: status 400 reading xxx#xxxx(String); content:

 今天在使用Feign调用其他项目接口的时候,后台报错如下:

解决办法:

 

 

完结!

 

以下内容不用看,记录日志使用的:

feign.FeignException: status 400 reading ProductApi#get(Integer,Integer); content:
{"timestamp":"2020-09-24T09:06:39.608+0000","status":400,"error":"Bad Request","message":"Required Integer parameter 'spuId' is not present","path":"/product/get"}

    at feign.FeignException.errorStatus(FeignException.java:60) ~[feign-core-9.7.0.jar:na]
    at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:89) ~[feign-core-9.7.0.jar:na]
    at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:143) ~[feign-core-9.7.0.jar:na]
    at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:77) ~[feign-core-9.7.0.jar:na]
    at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:102) ~[feign-core-9.7.0.jar:na]
    at com.sun.proxy.$Proxy533.get(Unknown Source) ~[na:na]
    at com.uiotsoft.pwfm.context.process.service.impl.ProductApplicationServiceImpl.getProductResponseByProductId(ProductApplicationServiceImpl.java:566) ~[classes/:na]
    at com.uiotsoft.pwfm.context.process.service.impl.ProductApplicationServiceImpl.saveV3ToMiddleGoods(ProductApplicationServiceImpl.java:464) ~[classes/:na]
    at com.uiotsoft.pwfm.context.process.service.impl.ProductApplicationServiceImpl.saveSkuToMiddleGoods(ProductApplicationServiceImpl.java:447) ~[classes/:na]
    at com.uiotsoft.pwfm.context.process.service.impl.ProductApplicationServiceImpl.workflowService(ProductApplicationServiceImpl.java:288) ~[classes/:na]
    at com.uiotsoft.pwfm.context.process.service.impl.ProductApplicationServiceImpl$$FastClassBySpringCGLIB$$4837649f.invoke(<generated>) ~[classes/:na]
    at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-5.0.4.RELEASE.jar:5.0.4.RELEASE]

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

No8g攻城狮

向每一个努力改变现状的你致敬!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值