How to get REST POST to pinpoint which element failed within a JSON array

0
I have published a Mendix REST POST service which receives a JSON array of elements. These elements get persisted to an entity. If one or more of the elements cannot be persisted can the response error specify which element(s) caused the failure? If yes, how can I get the response to list the elements that cause the failure?
asked
1 answers
3

Hi Richard,

if it fails and it is not directly clear in the exception in the console/server log, you can try and set the loglevel of the rest to "TRACE”, debug from there.

answered