dashboard.switch.getNetworkSwitchDhcpV4ServersSeen(network_id,total_pages='all') not working

Solved
shngrhm27
Conversationalist

dashboard.switch.getNetworkSwitchDhcpV4ServersSeen(network_id,total_pages='all') not working

This API call:

dashboard.switch.getNetworkSwitchDhcpV4ServersSeen(network_id,total_pages='all')

doesn't seem to work in Python in PyCharm.

I get this error message:

AttributeError: 'Switch' object has no attribute 'getNetworkSwitchDhcpV4ServersSeen'
 
I've verified the selected network has 'switch' in its 'productTypes', & this:

{{baseUrl}}/networks/:network_id/switch/dhcp/v4/servers/seen

works fine on the same network in Cisco Developer Meraki Dashboard API & Postman.
 
Anyone seen this issue, or have any input/feedback?
 
Thanks,
Shane
 
1 Accepted Solution
sungod
Head in the Cloud

Current version is 1.37.3  https://pypi.org/project/meraki/1.37.3/

 

I don't believe this call existed in 1.7.2!

 

View solution in original post

4 Replies 4
sungod
Head in the Cloud

Is your Meraki Python library up to date?

 

shngrhm27
Conversationalist

I believe so.

shngrhm27_0-1696252939297.png

 

sungod
Head in the Cloud

Current version is 1.37.3  https://pypi.org/project/meraki/1.37.3/

 

I don't believe this call existed in 1.7.2!

 

shngrhm27
Conversationalist

That did it.
Thanks so much.

Get notified when there are additional replies to this discussion.