Error on PUT API (after upgrading NSX-V from 6.4.0 to 6.4.6)

Hello all,

I did upgrade to NSX-Manager from 6.4.0 to 6.4.6

and after the upgrade i get error when i use this PUT API : /api/4.0/firewall/globalroot-0/config/layer3sections/1009



    "errorCode": 100030,

    "details": "Precondition failed. Please update the current configuration with latest generation Number.",

    "rootCauseString": null,

    "moduleName": "vShield App",

    "errorData": null


I use this headers:


someone know something about this issue?

Thank you.

0 Kudos
1 Reply
VMware Employee
VMware Employee

You must remove double quotes from Etag / Generated Number  in your case that is

If-Match "1574949170141" 

Your POST must be without double quotes.

If-Match 1574949170141

Page: 273

Starting in NSX 6.4.5, the Etag value returned in the response header of GET /api/4.0/firewall/globalroot-0/config

contains double quotes. You must strip off the double quotes before using the Etag value in the If-Match header. If you are using the PUT API request in an automation script, ensure that the script strips off the double quotes in the Etag value.

0 Kudos