400 JSON parse error when "constant.value=null"
See original GitHub issueWhen the execution plan contains a literal with value: null
then POST /producer/execution-plans
returns 400.
{
"id": "7c505765-7218-479e-b0b0-c31e6d63d68a",
"dataType": "3a278371-515e-4090-9790-6b48a757491b",
"extra": {
"simpleClassName": "Literal",
"_typeHint": "expr.Literal"
},
"value": null
}
com.twitter.finatra.json.internal.caseclass.exceptions.CaseClassValidationException: expressions.constants.value: field is required
The issue is related to AbsaOSS/spline-spark-agent#200
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
[SOLVED] Error 400 and json parse error while submit data ...
I am using iteaduino nano with esp8266 (esp-01) using esp8266 library from ubidots and I got http 400 while submitting to ubidots. beside...
Read more >Parsing JSON in Spring Boot, part 2 - DEV Community
The same simple JSON request body parsed as an immutable Java object ... 400, "error": "Bad Request", "message": "JSON parse error: Cannot ...
Read more >SyntaxError: JSON.parse: bad parsing - JavaScript | MDN
JSON.parse() parses a string as JSON. This string has to be valid JSON and will throw this error if incorrect syntax was encountered....
Read more >Search REST API Reference - Algolia
The entire API uses JSON encoded as UTF-8. ... Errors: 400 : Bad request or request argument; 404 : Index does not exist....
Read more >Bad request 400 JSON parse error - Stack Overflow
Failed to read HTTP message: org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unrecognized token ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s a Twitter Finatra Jackson deserializer issue. It seems to require non-null values for non-optional fields. I need to investigate what can we do about it.
Ok I will fork the Finatra.
One potential issue there is that they seem to make mandatory only case class fields. But since we use case classes everywhere in the API it’s not a problem for us right now.