Backend: Running manual job from pipeline throws generic 403 for non-validated users
Summary
Since GitLab started requiring new free users to provide a valid credit card in order to use shared runners on GitLab.com, these users have been greeted with a descriptive error message indicating this new measure as soon as they triggered their first pipeline under these conditions.
However, if a user tries triggering a manual job instead, the error banner is displayed with a generic 403 error message: "An error occurred while making the request:
Steps to reproduce
- Start with a namespace that doesn't have CI/CD minutes available
- Create a new project
- Create a pipeline in this project with a manual job in it
- Create a free user account and add it as Maintainer of this project
- Logged as the free user, try to trigger the manual job from the pipeline overview
Example Project
Please refer to ZD Internal
What is the current bug behavior?
The user is shown a generic, uninformative 403 error
What is the expected correct behavior?
User should be shown the normal banner explaining the need for a credit card account validation:
Output of checks
this bug happens on GitLab.com
Possible fixes
These users can be directed to the Shared Runners page, where the "Validate account" button is also available:


