[x] Have you tested the operation in the API directly?
[x] Do you have the latest SDK version?
[x] Review the compatibility matrix before opening an issue.
Prerequisites
I was running the Ansible module cisco.dnac.configuration_template_export_template, (which indirectly using the dnacentersdk), the validator : validators/v2_3_5_3/jsd_dc254215fdf25cd5b7ba797e8f8faebf.py raised a exception that list of ids is invalid, it must be object (further details in screeshots).
But when I disabled the request validator, the codes work just fine.
Expected behavior
According to DNACenter's developer toolkit, the request body for /dna/intent/api/v1/template-programmer/template/exporttemplates (POST) has to be a list of template IDs (further details in screeshots).
Screenshots
Result of using API directly on DNAC developer toolkit, errors in code terminal and the Ansible playbook code.
Environment (please complete the following information):
Prerequisites
Prerequisites I was running the Ansible module
cisco.dnac.configuration_template_export_template
, (which indirectly using the dnacentersdk), the validator :validators/v2_3_5_3/jsd_dc254215fdf25cd5b7ba797e8f8faebf.py
raised a exception that list of ids is invalid, it must be object (further details in screeshots). But when I disabled the request validator, the codes work just fine.Expected behavior According to DNACenter's developer toolkit, the request body for
/dna/intent/api/v1/template-programmer/template/exporttemplates
(POST) has to be a list of template IDs (further details in screeshots).Screenshots Result of using API directly on DNAC developer toolkit, errors in code terminal and the Ansible playbook code.
Environment (please complete the following information):