03-25-2022 01:11 AM
Hi
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.
Solved! Go to Solution.
03-27-2022 11:40 PM
@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.
03-27-2022 11:40 PM
@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.
03-29-2022 09:44 PM
Thanks @bigevilbeard, new collections worked for me.
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