feign icon indicating copy to clipboard operation
feign copied to clipboard

Getting java.util.regex.PatternSyntaxException: Illegal repetition whenever I am trying to pass nested json string in my request header

Open RiddhiKhatri opened this issue 2 years ago • 2 comments

I am getting "Illegal repetition\r\n{ " Exception when I am trying to pass nested JSON Object as the request header. If it is single JSON object it works fine. Is there any way I could add Nested JSON as the Request Header.

RiddhiKhatri avatar Mar 22 '22 04:03 RiddhiKhatri

I got a same Issue(v. 11.8), do you know how to fix it?

Shapoval1van avatar Apr 18 '22 17:04 Shapoval1van

@RiddhiKhatri and @Shapoval1van: if you're asking a question, stackoverflow might be better. If you are reporting a bug, then a reproducible example would help.

rage-shadowman avatar Apr 19 '22 19:04 rage-shadowman

Please provide a minimal reproduceable example that demonstrates your issue along with the expected behavior and actual behavior observed.

kdavisk6 avatar Oct 07 '22 20:10 kdavisk6

Hard to say with certainty without more detail, but this looks like another json header issue fixed in master at HEAD now but not yet released. Related to the fixes that came in for https://github.com/OpenFeign/feign/issues/1464

I believe this can be closed @kdavisk6

JKomoroski avatar Oct 22 '22 01:10 JKomoroski