Hi Devs, Currently we have error response JSON message construction logic in following class:
https://github.com/apache/stratos/blob/master/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/Utils.java Here we have used strings to do $subject without using domain classes. The downside is these messages do not respect any of the API configurations done for handling JSON messages. Shall we fix this? Thanks -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos