问题描述
feign.FeignException: status 500:content:
{"timestamp":"2020-07-29 13:59:07","status":500,"error":"Internal Server
Error","exception":"java.lang.IllegalArgumentException",
"message":"Source must not be null","path":"/XX/XXXX"}
at feign.FeignException.errorStatus(FeignException.java:62)
at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:91)
检查
- 使用post请求中是否添加@RequestBody注解,参数是否为NULL
- 方法体中是否调用第三方接口,参数是否为null
我的错误是上述第二种,参数不全为null