java.lang.RuntimeException: Could not decode JSON

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips


Rather than generating JSON by string concatenation, which is pretty much guaranteed to give you functionality and security issues, I recommend using a JSON library instead. We use Jersey in JIRA but any would do.

Solutions on the web

via Spring JIRA by Pavel Bernshtam, 1 year ago
Could not decode JSON
via Spring JIRA by Pavel Bernshtam, 1 year ago
Could not decode JSON
com.fasterxml.jackson.core.JsonParseException: Numeric value (1381061520766) out of range of int at [Source:; line: 1, column: 27]
at com.fasterxml.jackson.core.JsonParser._constructError(
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(
at com.fasterxml.jackson.core.base.ParserBase.convertNumberToInt(
at com.fasterxml.jackson.core.base.ParserBase.getIntValue(
at com.fasterxml.jackson.core.base.ParserMinimalBase.getValueAsInt(

Users with the same issue

2 times, 5 days ago
Once, 3 weeks ago
2 times, 3 weeks ago
Once, 3 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.