Slack Integration - Error 422: The change you requested was rejected
Description
- Setting up Slack Integration for a new project returns error
422: The change you requested was rejected
. -
gitlab-rails
log error:
"exception.message": "Validation failed: Alias This alias has already been taken"
Environment
-
Impacted offerings:
- GitLab.com
- GitLab Dedicated
- GitLab Self-Managed
Solution
To resolve this issue:
- Search in your namespace for projects with similar names and have the GitLab for Slack app enabled.
- Check among these projects for those with the same alias name as the failed project.
- Edit the alias, make it different, and retry enabling GitLab for Slack app for the failed project.
Cause
The error means another project within your namespace is already set up with the same name as the current project. This usually happens for projects with similar names.
Additional Information
GitLab.com and GitLab Dedicated customers, can contact Support to confirm the exact error returned by Rails.