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

No device found for system IP - Vmanage Device API

naresh16
Level 1
Level 1

 

Hi,

I am trying to get the device details and utilize other APIs as well for v-manage. However I am getting the below error even though the system IP is available in the particular site of the tenant. Could anyone help?

{ "error": { "message": "Device data error", "code": "DEV0001", "details": "No device found for system IP <System IP of the device>" } }

 

5 Replies 5

@naresh16 can you share your code? This error can mean a few things, your syntax is wrong, api user permission, wrong api endpoint ... etc..

Thanks!

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

@bigevilbeard Currently I am checking in postman and swagger url of our domain. Lets say I am using below API which requires device id as parameter.

 https://<domain>/dataservice/device/bfd/history?deviceId=<deviceId>

Before this, I have used j_security_check url to get session id. Using session id, I executed /dataservice/client/token to get token and used it in the above API endpoint for which I was getting the above mentioned error. But the device is available.

 

Thanks, it sounds like you are using the wrong identifier for the device in the API call. The endpoint https://<domain>/dataservice/device/bfd/history?deviceId=<deviceId> requires the vManage internal ID of the device (deviceId parameter), not its system IP. https://developer.cisco.com/docs/sdwan/20-16/create-bfd-history-list/

I always start with pulling the deviceId first (GET https://{vmanage-ip-address}/dataservice/device)

https://developer.cisco.com/docs/sdwan/device-inventory/

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

@bigevilbeard Correct. But the /dataservice/device API is not showing me the device I need. It is showing me the devices of different sites which is not required. I also tried the API where Site Id need to provided as parameter. Still the device details is not showing up for the given site id.

Hmm I don’t understand why you don’t see the devices id when you list all the devices from that api? In theory it should show all devices, connected to the fabric.

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io