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

namespaceId in ProjectCreate.cs should be an int #797

Open
megla-hburdow opened this issue Nov 19, 2024 · 0 comments
Open

namespaceId in ProjectCreate.cs should be an int #797

megla-hburdow opened this issue Nov 19, 2024 · 0 comments

Comments

@megla-hburdow
Copy link

On: gitLabClient.Projects.Create(new ProjectCreate { Name = "MyProjectName" });

Exception: Unhandled exception. NGitLab.GitLabException: GitLab server returned an error (BadRequest): {"namespace":["is not valid"]}. Original call: Post https://gitlab.mydomain.com/api/v4/projects. With data {"name":"MyProjectName","initialize_with_readme":false,"issues_enabled":false,"merge_pipelines_enabled":false,"merge_requests_enabled":false,"merge_trains_enabled":false,"snippets_enabled":false,"wiki_enabled":false,"import_url":"","visibility":"private"}

If I understand the GitLab API Docs. right, the namespaceId prop in ProjectCreate.cs should be of the type int.

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

No branches or pull requests

1 participant