05-15-2019 11:10 AM
I'm able to login to the API and get a token back, but all other calls are giving me a 404:
{
"error" : "BAPI not found with technicalName network-device and restMethod GET"
}
tried GET:
/dna/intent/api/v1/network-device
/dna/intent/api/v1/site
/dna/intent/api/v1/discovery/count
and a few others...
What is going on? This used to work...
05-20-2019 12:11 AM
What version of Cisco DNA Center are you using?
08-01-2019 08:45 AM
Disabling the REST Bundle under Platform and Re enabling it fixed it on our box.
03-25-2022 12:02 PM
This fixed the error on DNAC 2.2.3. Thank you!
08-01-2019 09:32 AM
Below is the bug id for this issue, should get fixed in coming releases
07-20-2020 08:24 AM - edited 07-20-2020 09:01 AM
FYSA
I just upgraded a 3 node cluster to version 1.3.3.5 and this issue still exists. I encountered the issue today when attempting a post call to add device to inventory. Specific error output was:
{
"error" : "BAPI not found with technicalName /v1/network-device/ and restMethod POST"
}
Disabling and re-enabling the bundle fixed the issue. Does anyone have any idea what future release will have a fix for this?
10-07-2020 10:59 AM
Just had the same problem in 2.1.2. Bouncing the bundle "fixed" the problem.
12-07-2020 12:24 AM
Same problem with upgrading to the latest patch release 1.3.3.9. Disabled and Enabled "DNA Center REST API" to resolve issue.
03-03-2021 11:34 AM
I also had this issue. I restarted the API bundle and it resolved the issue.
Platform > Manage > Bundles > Cisco DNA Center Rest API > Disable
then
Platform > Manage > Bundles > Cisco DNA Center Rest API > Enable
05-11-2022 01:29 AM
I am still seeing this issue in DNA Center Version 2.2.3.5, mentioned work around is working, but it is being annoying time to time as it breaks automation work flows.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide