Hey guys, I'm pretty new to using Python, and I'm having issues creating a new organisation network. I am using the following collect. client = MerakiSdkClient(x_cisco_meraki_api_key)
networks_controller = client.networks
collect = {}
organization_id = '*****'
collect['organization_id'] = organization_id
create_organization_network = CreateOrganizationNetworkModel()
create_organization_network.name = '******'
create_organization_network.mtype = '******'
create_organization_network.tags = ' *****'
create_organization_network.time_zone = '********'
create_organization_network.disable_my_meraki_com = False
collect['create_organization_network'] = create_organization_network
try:
result = networks_controller.create_organization_network(collect)
print(result)
except APIException as error:
print(error)
>>>HTTP response not OK. As you can see, I pretty much copied the code from the meraki sdk documentation. I hope you guys can help me solving this problem. I would be very happy about any help.
... View more