Unable to remove imported github project label
Summary
The user reported an issue where removing the label is resulting in a 502 error. Editing the label works fine.
Customer wants to remove the project level labels that are duplicates of the group level labels.
Note: the project levels were imported via a GitHub project import (though we're uncertain if this has any relevance).
The team has been unable to replicate in another project whether we create labels or import them via a test GitHub project.
ZD: https://gitlab.zendesk.com/agent/tickets/124515
Steps to reproduce
Proceed to the URL as indicated in the ticket and click on : to remove the label. Process takes a while and resulted to a 502 error.
What is the current bug behavior?
502 error page is being shown.
When trying it via the API, the response is GitLab is not responding
What is the expected correct behavior?
Label was removed
message.
Relevant logs and/or screenshots
Kibana/Sentry is not showing any relevant logs on the 502 error shown when the label is deleted.
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)