Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling exceptions when no Credit card #1

Open
abdounasser202 opened this issue May 1, 2023 · 1 comment
Open

Handling exceptions when no Credit card #1

abdounasser202 opened this issue May 1, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@abdounasser202
Copy link

Steps to reproduce

Try to create a pipeline with a user that has no credit card set in gitlab or expired credit card

Issue

We get an error gitlab.exceptions.GitlabCreateError: 400: {'base': ['Credit card required to be on file in order to create a pipeline']}

Expected behaviour

Should return a ValidationError asking the user to add a credit card in GitLab and explain why it's needed

Screenshot

Capture d’écran du 2023-05-01 19-11-43

@tarekmokhtarjr tarekmokhtarjr self-assigned this May 1, 2023
@tarekmokhtarjr tarekmokhtarjr added the enhancement New feature or request label May 1, 2023
@tarekmokhtarjr
Copy link
Owner

@abdounasser202
Thanks for your report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants