Repository > + > Upload file: Update all upload error messaging
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Work on this issue](https://contributors.gitlab.com/manage-issue?action=work&projectId=278964&issueIid=534735) - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=534735) </details> <!--IssueSummary end--> # Context https://gitlab.com/gitlab-org/gitlab/-/issues/525474#note_2429651766 # Problem When users try to upload a file in `Repository` \> `+` \> `Upload file`, and there is an error, the error message appears as an alert that is difficult to see behind the modal. In https://gitlab.com/gitlab-org/gitlab/-/issues/525474 and https://gitlab.com/gitlab-org/gitlab/-/merge_requests/185237, the error for dragging a directory into the modal was updated: ![idea_-_Upload_file__Error_state.jpg](/uploads/92fc171be7b246a48323cbb115dbe727/idea_-_Upload_file__Error_state.jpg) However, there are still other error messages for uploading files that still appear as alerts behind the modal. See error message for uploading a file with the same name as an existing file in the directory: ![error-samename.mov](/uploads/452ef80e63de6d96fd3a86f146f68a7f/error-samename.mov) # Design recommendation * [ ] Provide list of all the error messages in `Repository` \> `+` \> `Upload file` for UX/technical writing review * [ ] Update the formatting of all error messages in the upload file modal to use this formatting, so users can see the error messages clearly: ![idea_-_Upload_file__Error_state.jpg](/uploads/0a7a6f39cc1709c35864b61c791a7bf3/idea_-_Upload_file__Error_state.jpg) * [ ] Update the text of the error message for uploading a file of the same name to: `This file name already exists. Please choose a different name and try again.` * [ ] If necessary, make other error message text more descriptive and specific rather than the generic ~~`Error uploading file. Please try again.`~~
issue