Fixed. Changed field name to 'error'.