cisco-en-programmability / dnacentersdk

Cisco DNA Center Python SDK
https://dnacentersdk.readthedocs.io/en/latest/
MIT License
70 stars 33 forks source link

SDK for the Cisco ISE server retry functionality (FAILED to INPROGRESS) is not supported #157

Closed MUTHU-RAKESH-27 closed 1 month ago

MUTHU-RAKESH-27 commented 3 months ago

Prerequisites

Describe the bug Unable to get the ISE server back to INPROGRESS state from FAILED state using accept_cisco_ise_server_certificate_for_cisco_ise_server_integration under the system_settings.py SDK when the certificate is not trusted.

In the GUI, under Platform -> Developer Toolkit -> System Settings -> Accept Cisco ISE Server Certificate for Cisco ISE Server Integration, it is clearly mentioned that for retrying we have to pass {} to the API. Even in the SDK it is clearly mentioned.

Screenshot 2024-06-22 at 1 13 39 PM

I am getting this error for "Expecting value: line 1 column 1 (char 0)" for the payload "id": cisco_ise_id, "isCertAcceptedByUser": trusted_server, "payload": {},

and The error was: [406] Not Acceptable - NCND00067: The request body is invalid "id": cisco_ise_id, "payload": {},

The retry functionality is important for our ansible module development!

Expected behavior The SDK should support for the retry functionality for the Cisco ISE server.

Environment (please complete the following information):

bvargasre commented 1 month ago

Hi @MUTHU-RAKESH-27 I'm going to close this issue, in the new version the problem should be solved. Any problems that arise feel free to open a new issue or reopen this one. Best regards.