- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
getOrganizationSummaryTopApplicationsByUsage doesn't work with networkId
Hello everyone,
I am currently struggling with the endpoint “getOrganizationSummaryTopApplicationsByUsage”. According to the documentation, there is the parameter “networkId”. As soon as I use this, I get a 500 error.
def get_network_top_applications(self, org_id, net_id):
return self.api.organizations.getOrganizationSummaryTopApplicationsByUsage(org_id, networkId=net_id)
Error:
meraki.exceptions.APIError: organizations, getOrganizationSummaryTopApplicationsByUsage - 500 Internal Server Error, {'errors': ['Internal server error']}
Regards Sebastian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I Just tested it and it works. The documentation is wrong and probably the SDK.
https://api.meraki.com/api/v1/organizations/XXXXXXX/summary/top/applications/byUsage?networkIds[]=XXXXX
https://developer.cisco.com/meraki/api-v1/get-organization-summary-top-applications-by-usage/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, that was also my thought. That's why I had already tested networkIds=[MyNetworkId]. But the parameter is ignored, enter “1234” as network Id and you get the same result, like the previous Network Id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @seb90 I also tested this out and I found that I got that None response, too, so I'm with you! Coincidentally, I was involved in the original development of this operation, and I know it did work, once upon a time 🦄🌈👸🏼.
Meraki Support is your best bet for a solution. But I know that traffic analytics are calculated according to one of two frameworks: the first, TA, is legacy. The newer one, NBAR, is what I'm using today and have been using for months. It's possible that the API operation queries TA data, finds none, then response None. Probably not an ideal result. Coincidentally, my Organization > Summary Report page "Top applications by usage" does show results, so perhaps the GUI page is using a different operation in the backend.
Either way, I think the network ID filter is a red herring, and I recommend reporting it to Meraki Support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi John, thanks for the feedback. I will open a case for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@John_on_API Sorry to tag you. Is there a way to open tickets about API documentation and probably an error with the Meraki python SDK ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API docs issues would go through Support. Python library issues would go through the GitHub repo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone, according to the support this is a known issue of which the internal team is aware. Currently, there is no ETA.
