Failed to add account in PVWA with error "ITAPE267E Receive object failed (code = 2, 32)"
Symptom
When trying to add an account in PVWA this may fail with the following error:
ITAPE267E Receive object failed (code = 2, 32)
The following error is appear in the PVWA Session log:
[02/06/2021 | 11:26:39.714157] | {pid=11512} | {tid= 1176} | :: | ITAPE267E Receive object failed (code = 2, 32) (Vault [CAMainVault] safe [ITC] user [Administrator])
[02/06/2021 | 11:26:39.714581] | {pid=11512} | {tid= 1176} | :: | Casos Session Request[PutPasswordObject] ended.
[02/06/2021 | 11:26:39.730004] | {pid=11512} | {tid= 1176} | :: | Casos Session Request: FileDetailsEX
[02/06/2021 | 11:26:39.730212] | {pid=11512} | {tid= 1176} | :: | CASVL005E Missing object name.
[02/06/2021 | 11:26:39.730406] | {pid=11512} | {tid= 1176} | :: | Casos Session Request[FileDetailsEX] ended.
[02/06/2021 | 11:26:39.732369] | {pid=11512} | {tid= 1176} | :: | EPVCW001E Exception was thrown - ITAPE267E Receive object failed (code = 2, 32)
[02/06/2021 | 11:26:39.732858] | {pid=11512} | {tid= 1176} | :: | EPVCW006E Exception stack trace - at CyberArk.Casos.Client.MCCACErrorHandle.ThrowCasosException()
at CyberArk.PasswordVault.API.PVSession.CreateAccount(String Safe, String Folder, String Name, SecureString Content, Dictionary`2 properties, Int32 options, Boolean isSSHKey)
at CyberArk.PasswordVault.API.PVSession.AddPassword(String Safe, String Folder, String Name, SecureString Content, Dictionary`2 properties, Int32 fileOptions, Boolean IsSSHKey)
at CyberArk.PasswordVault.API.PVSession.AddPassword(String Safe, String Folder, String Name, SecureString Content, Boolean IsSSHKey)
at aiw.a(Boolean A_0, String A_1, String A_2, String A_3, Boolean A_4, SecureString A_5, PVPassword A_6, Boolean A_7)
at aiw.a(String A_0, Hashtable A_1, SecureString A_2, String A_3, Boolean A_4, String A_5, Boolean A_6)
at tp.aa()
In the vault trace log the following error is appear:
2021-06-02 11:26:39.711 00008672 END PE 757 Administrator[00] ServiceName=PutFileSafeName=ITCFileName=Root\Operating System-Test-Unix_UnixSSH-10.0.121.102-test (1)CheckVirus=0ResumeType=NObjectType=1CreationDate=0OldVersionOverride=NKeepLocked=NStoreCheckLock=NResumeFromRecord=0RecordsPerSend=3932460CreateEmptyFile=NOpenFile=NCIFSFileAttributes=496SmbLock=NSmbLockOptions=0SmbLockBehalfOnGw=NDirectAccessStore=NIsSSHKey=NFileOptions=0FileStoreFileCategoryIds=FileStoreFileCategoryNames=FileStoreHash=0MasterAddress=MasterUserName=AccountCaseSensitive=NFingerprintToOverride=MasterUserFingerprint= ERR ITAPE267E Receive object failed (code = 2, 32)
Environment
10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1
PVWA 10.10 Windows 2016 Server
Vault 10.10 Windows 2016 Server
Cause
The files system is not sync with the vault.
Resolution
Run the SynchronizeDB /Update to sync the files. To do that:
1. Stop PrivateArk Server service
2. Open command prompt and browse to the PrivateArk server installation path (by default is C:\Program Files (x86)\PrivateArk\Server)
3. Run the following command:
CAVaultManager.exe SynchronizeDB /Update
4. Start the PrivateArk server service and re-try adding account in PVWA.