Checklist
Description
The methods on the Users.RolesClient do not capture the 404 response if the target user does not exist. This surfaces as a ManagementApiException instead of a NotFoundError which is inconsistent with the rest of the SDK
Reproduction
await _client.Users.Roles.ListAsync("invalid", new(), null, default); // throw ManagementApiException
Additional context
This seems to apply to all of the methods on this client. I didn't check other "subclients" (Sessions, etc) but it's probably worth reviewing
auth0.net version
8.2.0
.NET version
10
Checklist
Description
The methods on the
Users.RolesClientdo not capture the 404 response if the target user does not exist. This surfaces as aManagementApiExceptioninstead of aNotFoundErrorwhich is inconsistent with the rest of the SDKReproduction
Additional context
This seems to apply to all of the methods on this client. I didn't check other "subclients" (Sessions, etc) but it's probably worth reviewing
auth0.net version
8.2.0
.NET version
10