cat /tmp/ontap_apis.log
2023-09-06 12:06:46,001 DEBUG sending: {'method': 'GET', 'url': 'https://10.216.61.65:443/api/snapmirror/relationships?return_records=true&return_timeout=30', 'verify': False, 'params': {'list_destinations_only': True, 'fields': 'source.path,destination.path', 'destination.svm.name': 'demosvm01'}, 'timeout': 60, 'json': None, 'headers': 'redacted', 'auth_args': 'redacted'}
2023-09-06 12:06:46,004 DEBUG Starting new HTTPS connection (1): 10.216.61.65:443
2023-09-06 12:06:50,806 DEBUG https://10.216.61.65:443 "GET /api/snapmirror/relationships?return_records=true&return_timeout=30&list_destinations_only=True&fields=source.path%2Cdestination.path&destination.svm.name=demosvm01 HTTP/1.1" 401 65
2023-09-06 12:06:50,808 DEBUG 401: b'{"error":{"code":"6691623", "message":"User is not authorized."}}'
2023-09-06 12:06:50,808 ERROR 401: Endpoint error: 401: {'code': '6691623', 'message': 'User is not authorized.'}
2023-09-06 21:10:36,937 DEBUG sending: {'method': 'GET', 'url': 'https://10.216.61.65:443/api/snapmirror/relationships?return_records=true&return_timeout=30', 'verify': False, 'params': {'list_destinations_only': True, 'fields': 'source.path,destination.path', 'destination.svm.name': 'demosvm01'}, 'timeout': 60, 'json': None, 'headers': 'redacted', 'auth_args': 'redacted'}
2023-09-06 21:10:36,940 DEBUG Starting new HTTPS connection (1): 10.216.61.65:443
2023-09-06 21:10:41,743 DEBUG https://10.216.61.65:443 "GET /api/snapmirror/relationships?return_records=true&return_timeout=30&list_destinations_only=True&fields=source.path%2Cdestination.path&destination.svm.name=demosvm01 HTTP/1.1" 401 65
2023-09-06 21:10:41,745 DEBUG 401: b'{"error":{"code":"6691623", "message":"User is not authorized."}}'
2023-09-06 21:10:41,745 ERROR 401: Endpoint error: 401: {'code': '6691623', 'message': 'User is not authorized.'}