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

Fix adding the wrong scope parameter. #599

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

Sjhzjxc
Copy link
Contributor

@Sjhzjxc Sjhzjxc commented Dec 18, 2023

When using the PipelineClient.GetJobsAsync(NGitLab.Models.PipelineJobQuery query) method, I encountered the following error:

NGitLab.GitLabException : GitLab server returned an error (BadRequest): scope does not have a valid value. Original call: Get http://localhost:48624/api/v4/projects/12/pipelines/11/jobs?scope=System.String%5B%5D

I resolved it by referring to the examples provided in the documentation:

@Sjhzjxc Sjhzjxc requested a review from a team as a code owner December 18, 2023 10:08
@Sjhzjxc Sjhzjxc requested review from meziantou and removed request for a team December 18, 2023 10:08
@meziantou meziantou force-pushed the feature/fix-scope-parameter branch from 75132fa to 61f6387 Compare December 18, 2023 14:08
@meziantou meziantou merged commit c292927 into ubisoft:main Dec 18, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants