Forum Discussion

amarnath1234's avatar
amarnath1234
Contributor
6 years ago

Error 500 issue

I send my request and i got below error,need help how to fix this issue ?

 

Error 500: javax.servlet.ServletException: org.codehaus.jackson.map.JsonMappingException: Can not construct instance of boolean from String value '': only "true" or "false" recognized at [Source: com.ibm.ws.webcontainer.srt.http.HttpInputStream@26c691d5; line: 38, column: 10]

  • Hello Amarnath,

     

    seems like one of JSON key expecting a boolean, but instead you are getting a different string value in return which is causing the issue. Check with your developer. how the JSON schema is and what kind of values it is expecting. They might be able to help you.

1 Reply

  • Hello Amarnath,

     

    seems like one of JSON key expecting a boolean, but instead you are getting a different string value in return which is causing the issue. Check with your developer. how the JSON schema is and what kind of values it is expecting. They might be able to help you.