Describe the bug
I was running the Ansible module for the cisco.dnac.configuration_template_import_template, which in turn calls the SDK, raises an exception that the sdk check_type expects list but while calling the API it throws an error( expecting dict instead of list). Refer screenshots.
Expected behavior
According to DNACenter's developer toolkit, the request body for /dna/intent/api/v1/template-programmer/project/name/${projectName}/template/importtemplates (POST) has to be a dict but the SDK expects a list. (further details in screeshots).
Screenshots
Environment (please complete the following information):
Cisco DNA Center Version and patch: 2.3.7.3
Python version: 3.8
SDK version: 2.6.10
Additional context
Add any other context about the problem here.
Prerequisites
Describe the bug I was running the Ansible module for the cisco.dnac.configuration_template_import_template, which in turn calls the SDK, raises an exception that the sdk check_type expects list but while calling the API it throws an error( expecting dict instead of list). Refer screenshots.
Expected behavior According to DNACenter's developer toolkit, the request body for /dna/intent/api/v1/template-programmer/project/name/${projectName}/template/importtemplates (POST) has to be a dict but the SDK expects a list. (further details in screeshots).
Screenshots
Environment (please complete the following information):
Additional context Add any other context about the problem here.