DNAC API Create Report keeps returning HTTP 500
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2023 12:55 AM
Hi!
I've been trying to create reports via the API so I can automate some data retrieval. However, I've attempted to do this by using:
- The built-in developer toolkit
- Postman
- Python scripts
Each returning "Http Error Code:500" with not much else to go on.
I'm assuming my error is because of some fault in my payload. I've copied the JSON request body from https://developer.cisco.com/docs/dna-center/#!create-or-schedule-a-report after filling in all the details in the form and adjusting the valuee/schedule where needed. I have also tested sending my payload as-is or as json.dumps(payload) with the request.
My script in short:
Could someone give me some advice what I'm doing wrong?
Thanks in advance!
- Labels:
-
Cisco DNA Automation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2023 05:08 AM
- I got some error when using https://jsonlint.com/ , for your input ; you may want to run that too ,
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
