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

Scope validation inconsistent with documentation #1214

Open
chklauser opened this issue Sep 23, 2024 · 0 comments
Open

Scope validation inconsistent with documentation #1214

chklauser opened this issue Sep 23, 2024 · 0 comments

Comments

@chklauser
Copy link

I expect the library to correctly validate the documented scopes. For instance, the scope mail_settings.bcc.read is unknown to the SendGridPermissionsBuilder and thus gets rejected.

We are using version 9.29.3 of the SendGrid NuGet.

System.InvalidOperationException: The provided scope 'mail_settings.spam_check.read' is not valid. See the API permissions docs for a list of valid scopes.
   at SendGrid.Permissions.SendGridPermissionsBuilder.Include(String[] scopes)
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