VTP type-2 configuration incompatible error in Cisco Nexus switch

If we get VTP type-2 configuration incompatible error in show VPC brief command as shown below.
N7K-6-2(config)# show vPC brief
Legend:
                (*) – local vPC
is down, forwarding via vPC peer-link
vPC domain id                    
: 10
Peer status                      
: peer adjacency formed ok
vPC keep-alive status            
: peer is alive
Configuration consistency status 
: success
Per-vlan consistency status      
: success
Type-2 consistency status        
: failed
Type-2
inconsistency reason       : VTP type-2
configuration incompatible —<<<<<
vPC role                         
: primary
Number of VPCs configured        
: 0
Peer Gateway                     
: Disabled
Dual-active excluded VLANs       
: –
Graceful Consistency Check       
: Enabled
Auto-recovery status             
: Disabled
vPC Peer-link status
———————————————————————
id   Port   Status Active vlans
—   —-   ——
————————————————–
1    Po10   up    
1,20
Then please make sure VTP version, domain, mode and password
is same on the peers.
N7K-6-2# show vpc consistency-parameters interface po10
Note: **** Global type-1 parameters will be displayed for peer-link
*****
    Legend:
        Type 1 : vPC will be suspended in case of
mismatch
Name                  
     Type  Local Value          
 Peer Value
————-               —-
 ———————- ———————–
STP Mode                
   1     Rapid-PVST          
  Rapid-PVST
STP Disabled                1
    None                
  None
STP MST Region Name         1    
“”                  
  “”
STP MST Region Revision     1     0    
                 0
STP MST Region Instance to  1
 VLAN Mapping
STP Loopguard               1
    Disabled              
Disabled
STP Bridge Assurance        1    
Enabled                Enabled
STP Port Type, Edge         1    
Normal, Disabled,      Normal, Disabled,
BPDUFilter, Edge BPDUGuard        Disabled  
            Disabled
STP MST Simulate PVST       1     Enabled
               Enabled
VTP domain                
 2     lab              
     test                —————<<<<<<
VTP version                 2
    1                
     1
VTP mode                
   2     Server            
    Server          —————<<<<<<
VTP password                2
    lab123               test 
           —————-<<<<<<
VTP pruning status          2    
Disabled               Disabled
Allowed VLANs               –
    1                
     1
Local suspended VLANs       –     –  
                   –

Even if you see the errors then try below steps:- 
1.      
Disable and re-enable the VTP feature.
2.      
Reconfigure the VTP password.
3.      
Change the mode to server to client then back to
server.
4.      
Also check the layer-2 connectivity between the
peers via peer link. It could be a problem with one or more of the peer link member
port. Check for errors on the physical link of the peer link port-channel.