This issue occurs when the validation of the NSService UUID is not performed, allowing an invalid NSService UUID to be created, which results in the above pre-check error.
This issue may also occur when NSServices are created through the API with an invalid 'id' provided.
1. Copy the UUID of the problematic NSService. 2. Go to home UI page of NSX-T and in the search box paste the NSService UUID. 3. In the search results you will get the list of entities consuming the NSService. Take a note of these entities, for example they could be DFW rules. 4. Create a new NSService with same port and protocol information. 5. Modify the entities consuming the NSService from step 3. Remove the reference to the old NSSerivce and point the entity to the new NSService created in step 4. 6. Test the entity is working as expected. 7. Delete the old NSService. Note: If you are using API calls to create the NSService then in the body of API call do not add the id field, IDs are auto generated.