cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
915
Views
0
Helpful
0
Replies

Template-programmer Deploy not working on DNAC in devnet lab

LoganJinho
Level 1
Level 1

Hi, 

I'm DNC-C training module.

I'm doing Template-programmer lab and the script apply_template.py  is not working.  500 server error.

I don't know what the version of DNA-C in devnet sandbox. 

 

(venv) MacBookPro:template-prg$ ./apply_template.py

Traceback (most recent call last):

  File "./apply_template.py", line 45, in <module>

    deploy()

  File "./apply_template.py", line 30, in deploy

    response.raise_for_status()

  File "/Users/logan/Workspace/devnet/dnav3-code/venv/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status

    raise HTTPError(http_error_msg, response=self)

requests.exceptions.HTTPError: 500 Server Error: Server Error for url: https://sandboxdnac.cisco.com:443/api/v1/template-programmer/template/deploy

 

0 Replies 0