error response structure updated