08-18-2025 03:00 AM
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>" } }
08-18-2025 03:03 AM
@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!
08-18-2025 03:36 AM
@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.
08-18-2025 04:40 AM
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/
08-18-2025 05:01 AM
@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.
08-18-2025 05:35 AM
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.
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