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

Bad Request - allowedSummonerIds field should be an array of summonerIds or excluded from the post body #702

Open
unsorted01 opened this issue Nov 5, 2021 · 2 comments

Comments

@unsorted01
Copy link

unsorted01 commented Nov 5, 2021

When using the method: tournamentApi.CreateTournamentCodesAsync without filling summoners (null object)

I get this exception:
image

Nuget Version: 5.0.0-alpha

@MingweiSamuel
Copy link
Contributor

MingweiSamuel commented Nov 5, 2021

Is that empty array or null value?

@unsorted01
Copy link
Author

I use this Method:

image

So it is the default value (null).

I think when it is null you should not include it in the request. Even as null value.

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

2 participants