Open i3149 opened 10 months ago
Describe the bug I'm trying to use this endpoint: https://developer.cisco.com/meraki/api-v1/get-organization-appliance-vpn-statuses/
The docs show I can pass an array of network ids in to limit the data returned. When I try this, I get the following error:
{{"errors":["'networkIds' must be an array"]}}
To Reproduce
networks := []string{"N_12345678"} resp, r, err := apiClient.StatusesApi.GetOrganizationApplianceVpnStatuses(context.Background(), org.ID).NetworkIds(networks).Execute() if err != nil { log.Infof("Error when calling `StatusesApi.GetOrganizationApplianceVpnStatuses``: %v\n", err) log.Infof("Full HTTP response: %v\n", r) } log.Infof("Response from `StatusesApi.GetOrganizationApplianceVpnStatuses`: %v\n", resp)
The above code for me always errors out. Removing the network parameter works well.
Expected behavior I would expect a valid http request and filtered results returned.
Describe the bug I'm trying to use this endpoint: https://developer.cisco.com/meraki/api-v1/get-organization-appliance-vpn-statuses/
The docs show I can pass an array of network ids in to limit the data returned. When I try this, I get the following error:
{{"errors":["'networkIds' must be an array"]}}
To Reproduce
The above code for me always errors out. Removing the network parameter works well.
Expected behavior I would expect a valid http request and filtered results returned.