Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens

Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens

批量发送短信,在发送方批量拼接,报此错误,查原因该异常是由于Spring Cloud Feign 请求其他微服务时json数据太大被压缩导致的

 

改为在接收方拼接,通过!

posted @ 2021-06-09 20:03  DarJeely  阅读(5511)  评论(0编辑  收藏  举报