Skip to content

updateNetworkApplianceFirewallInboundFirewallRules gives invalid OAuth scope [] #489

Description

@webfrank

Describe how you confirmed the issue is with the library, and not with the API itself, or a server-side issue of some other kind.
Calling updateNetworkApplianceFirewallInboundFirewallRules using OAuth2 token and a payload like

{
"rules": {
"comment": "VPN",
"policy": "allow",
"protocol": "tcp",
"srcPort": "Any",
"srcCidr": "Any",
"destPort": "443",
"destCidr": "Any",
"syslogEnabled": false
}
]
}

gives error Incorrect OAuth scopes. The required scopes are: []

Same API call with static API key works

Python version installed
3.11

Meraki library version installed
4.5.0

Have you reproduced the issue with the latest version of this library? And with the latest version of Python?
Yes, same result

OS Platform
Linux

Describe the bug
API call should succeed or at least tell which scope is missing (if any)

How can we replicate the problem you're reporting?
Authenticate with OAuth2 and try the API call with provided payload

For example, to reproduce:

  1. Invoke X endpoint with Y request attributes and/or Z query parameters.
  2. Expect outcome A.

Expected behavior
A clear and concise description of what you expected to happen instead, and why.

Code snippets
If applicable, add code snippets to help explain your problem.

Additional context
Add any other context about the problem here.

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