Get_telephony_providers_edge_logicalinterfaces : 'int' object has no attribute 'lower'

I am trying my noobest with Python SDK but I ran into an error that i can't seem to resolve.
If anyone could please point out my mistake, its driving me nuts.

Code:

from html import entities
import PureCloudPlatformClientV2
import yaml
import json

#Load YAML Config
with open('HealthCheck_Config.yaml') as f:
config = yaml.load(f, Loader=yaml.FullLoader)

region = PureCloudPlatformClientV2.PureCloudRegionHosts.eu_west_1
PureCloudPlatformClientV2.configuration.host = region.get_api_host()

#Get Auth Token
apiClient = PureCloudPlatformClientV2.api_client.ApiClient().get_client_credentials_token(config['clientId'],config['clientSecret'])

authApi = PureCloudPlatformClientV2.AuthorizationApi(apiClient)

EdgeStatusApi = PureCloudPlatformClientV2.TelephonyProvidersEdgeApi.get_telephony_providers_edges(authApi,page_size=50)

for edgeId in EdgeStatusApi.entities:
edge = edgeId.id
EdgeNetworkStatus = PureCloudPlatformClientV2.TelephonyProvidersEdgeApi.get_telephony_providers_edge_logicalinterfaces(authApi,edge_id=edge)
print(EdgeNetworkStatus)

Error:

Message='int' object has no attribute 'lower'

Hi,

I've managed to reproduce the error and I'm currently looking into this issue. There appears to be some strange behaviour here with this endpoint. I will update as soon as possible.

Thanks,

Mike

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.