Hello,
Currently when we send some invalid data (non-numeric data to numeric field), zOS Connect returns 500 - Internal server error.
Log shows following errors:
GMOMW0005E: A data type conversion error occurred while the leaf field request.xxxxxx.xxxxx of service interface xxxxxxxxx was converted: Infinite or NaN.
GMOSR0013E: An unexpected error occurred processing service xxxxxxxxx using trancode xxxxxxx. Originating exception message = GMOMW0005E: A data type conversion error occurred while the leaf field request.xxxxxxx.xxxxx of service interface xxxxxxxxxxxxx was converted: Infinite or NaN.
BAQR7074E: The mandatory JSON response property response is missing.
And the response to the client is
{
"errorMessage": "BAQR7033E: Internal server error."
}
Is it possible to give more specific status codes instead of 500? I see WOLA service provider has useGenericError flag but not the IMS service provider.
------------------------------
/Rahul
------------------------------