Skip to content

Scope validation inconsistent with documentation #1214

Description

@chklauser

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions