Fixed error handling for multi upload