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

Unable to Attach Template to vManage using POSTMAN

alalina
Cisco Employee
Cisco Employee

Screenshot 2022-03-25 133906.jpgHi

I'm trying to attach template to ISR4331 using POSTMAN. I've been using the collections available at https://github.com/CiscoDevNet/Postman-for-Cisco-SD-WAN.
I'm able to achieve the same through GUI but POSTMAN is throwing one of the following errors:

Cisco SD-WAN
Cisco vManage
User name or password was invalid
If username and password are valid, user account is locked. Wait for some time and try again or contact Administrator
If username and password are valid, password has expired. Contact Administrator
SessionTokenFilter: Token provided via HTTP Header does not match the token generated by the server.

URL: https://{{vmanage}}:{{port}}/dataservice/template/device/config/attachfeature
Payload:

{"deviceTemplateList":[{"templateId":"","device":[{<device template details supplied here}],"isEdited":false,"isMasterEdited":false}]}

I'm positive about the payload, as I'm picking it up from network inspect while attaching the template on GUI. Also, most of the collections available at https://github.com/CiscoDevNet/Postman-for-Cisco-SD-WAN are working fine with the current POSTMAN setting. Please advice a solution/workaround.

 

 

1 Accepted Solution

Accepted Solutions

@alalina that collection is old and was built for version 18.3, suggest using https://github.com/CiscoDevNet/Postman-for-AlwaysOn-Cisco-SD-WAN

 

Hope this helps.

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

View solution in original post

2 Replies 2

@alalina that collection is old and was built for version 18.3, suggest using https://github.com/CiscoDevNet/Postman-for-AlwaysOn-Cisco-SD-WAN

 

Hope this helps.

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

Thanks @bigevilbeard, new collections worked for me.