Refactor API response messages
<!--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> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=382198) </details> <!--IssueSummary end--> The response error messages in the API are duplicates, and we should remove the duplicated messages Related to comments: - https://gitlab.com/gitlab-org/gitlab/-/merge_requests/102658#note_1165743434 - https://gitlab.com/groups/gitlab-org/-/epics/8926#note_1162732810 - https://gitlab.com/groups/gitlab-org/-/epics/8926#note_1160645819
issue