Configuration template import template - check_type error
Closed this issue · 2 comments
Prerequisites
- Have you tested the operation in the API directly?
- Do you have the latest SDK version?
- Review the compatibility matrix before opening an issue.
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).
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.
Request body updated.
Please verify it and update us.
I am closing this issue due to inactivity.