Skip to content

Unable to add Policy Object with meraki organizations createOrganizationPolicyObject #29

@Onlyodin

Description

@Onlyodin

I'm looking to add a bunch of Policy Objects but whenever I run meraki organizations createOrganizationPolicyObject I get the following error message:
[CRITI] ERROR. Cannot find "type". May need to be translated from an input key with the "-t" argument

The help for the command suggests one of (adaptivePolicyIpv4Cidr, cidr, fqdn, ipAndMask), but irrespective of that I always get the error. I would try using getOrganizationPolicyObjects to try the suggested key translation, but I've not been able to figure out how to "get" a single Policy Object.

I suspect this is a bug, but please feel free to enlighten me if there's another way I can get this command to work.

$ meraki -v Meraki-CLI v1.5.0 | Meraki API Library v2.0.2 | Python 3.12.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions