Error when calling new method GetUsersByEmailAsync in .Net Library 4.6.0

I am using the new API call to get users by email:

var scopes = new
                {
                    users = new
                    {
                        actions = new] { "read" }
                    },
                    users_app_metadata = new
                    {
                        actions = new] { "read" }
                    }
                };

    var client = GetClient(scopes);
    var users = await client.Users.GetUsersByEmailAsync(email);

I get the following error: Additional properties not allowed

{Auth0.Core.Exceptions.ApiException:
Query validation error: 'Additional
properties not allowed: '. at
Auth0.Core.Http.ApiConnection.d__15.MoveNext()
in
C:\Development\auth0\auth0.net\src\Auth0.Core\Http\ApiConnection.cs:line

Please let me know what I am doing wrong, are the properties referring to scopes?

My apologies. This is a mistake on my side. I did not publish a new version of the Auth0.Core Nuget package, which fixes that error.

I have now published Auth0.Core V4.0.1 which fixes that error, and also Auth0.ManagementApi V 4.6.1 which takes a dependency on that particular version.

It should be available on NuGet in a few minutes

Cool, cheers