VMware Networking Community
water2010
Contributor
Contributor

A Valid Xsrf Token header must be provided with the Http Request

Hi :

I am doing NEX-T 2.3 and having a problem with Transport node status,

pastedImage_1.png

while I check log,it display

{

    "module_name" : "common-services",
    "error_message" : "A Valid Xsrf Token header must be provided with the Http Request.",
    "error_code" : "400"
}

is anyone also having this issue ?

F.C Cheng

0 Kudos
2 Replies
krishnanmurali
VMware Employee
VMware Employee

I suggest the following:

1. Download and start Postman API Client Postman | Download Postman App

2. Allow self signed certificate in Postman (Toggle switch off in settings)

3. Authorization - Basic & Credentials (admin,password)

4.  Headers:

Content-Type: Application/xml

X-Allow-Overwrite: true

5. Follow the syntax from API guide

0 Kudos
steffen_richter
Hot Shot
Hot Shot

Just for those who get the same error message, this one is usually the one that does the trick for me, and I always forget about it:

2. Allow self signed certificate in Postman (Toggle switch off in settings)

Thanks krishnanmurali​!


BR

Steffen

VCI since 2009
0 Kudos