Handle more errors for file upload in backoffice