[NXCM-5146] Send json payload on error