Could not decode JSON

Samebug tips4

You're inputing information in a way the Json Parser can't understand. This page might enlighten you a little:


Check if you forgot to set the "data" field inside your request. If you did set it, check if it's being serialized before sending, and if it's being serialized the right way.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web336

  • via Unknown by Pavel Bernshtam,
  • via Unknown by Pavel Bernshtam,
  • via GitHub by nicolas-f
  • Stack trace

    • java.lang.RuntimeException: Could not decode JSON at at at at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at$QueryExecutorMethodInterceptor.executeMethodOn( at$QueryExecutorMethodInterceptor.invoke( at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( at org.springframework.aop.framework.JdkDynamicAopProxy.invoke( at com.sun.proxy.$Proxy9.findOne(Unknown Source) at com.salespredict.CouchBaseClient.main( Caused by: 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( at com.fasterxml.jackson.core.JsonParser.getValueAsInt( at at at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, last one
    36 times, last one
    Михайло ТітовМихайло Тітов
    Nikolay RybakNikolay Rybak
    109 more bugmates