getOrganizationSummaryTopApplicationsByUsage doesn't work with networkId

seb90
Here to help

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

5 Replies 5
RaphaelL
Kind of a big deal
Kind of a big deal
seb90
Here to help

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.

John_on_API
Meraki Employee
Meraki Employee

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.

RaphaelL
Kind of a big deal
Kind of a big deal

@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 ?

John_on_API
Meraki Employee
Meraki Employee

API docs issues would go through Support. Python library issues would go through the GitHub repo.

Get notified when there are additional replies to this discussion.