|
发表于 2022-4-15 10:41:15
|
显示全部楼层
|阅读模式
贵州省黔南布依族苗族自治州
200精币
{"timestamp":1649990310929,"status":400,"error":"Bad Request","message":"JSON parse error: Invalid UTF-8 middle byte 0xeb\n at [Source: (PushbackInputStream); line: 1, column: 104]; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Invalid UTF-8 middle byte 0xeb\n at [Source: (PushbackInputStream); line: 1, column: 104]\n at [Source: (PushbackInputStream); line: 1, column: 99] (through reference chain: cn.gov.zcy.service.agreement.item.domain.dto.AgProtocolGoodsDraftDTO[\"protocolGood\"]->cn.gov.zcy.service.agreement.item.domain.dto.AgGoodsCreateDTO[\"itemDTO\"]->cn.gov.zcy.service.item.dto.request.FullItemDTO[\"baseItem\"]->cn.gov.zcy.service.item.dto.request.internal.FullBaseItemDTO[\"item\"]->cn.gov.zcy.service.item.dto.request.internal.ItemMajorDTO[\"name\"])","path":"/api/goods/draft/updateProtocolDraft"}
提交后错误,大佬请指教一下
|
最佳答案
查看完整内容
看数据 应该是协议头的问题, 另外提交的数据里是否有\n 要替换为空,
你抓包看下数据 协议头原封不动调用,数据里的字符替换下 试试
|