HTTP error 422 when updating entry credentials

HTTP error 422 when updating entry credentials

avatar

I got the following error today: "A non pam vault entry update forbid metadata keys."
It was during updating an entry's credentials.

  1. A teammate created a web entry in his local data source.
  2. He entered his own credentials, apparently from his own vault in the data source.
  3. He then copy/paste'd the entry from his data source into the Hub data source (why did he do it that way is a different topic related to disappearing entries when losing internet connection).
  4. We agreed that we will replace the credential of the Hub's entry by the credential drawn from a user's vault (everybody has their own account).
  5. When editing the above entry in Hub data source (through RDM), I got error "Unable to find the credential entry; this setting will be lost" - this one is okay for me.
  6. When editing the entry, the "Credentials" was set to "Linked (vault)", the value was empty (expected).
  7. I changed it to "Find by name (user vault)".
  8. I entered the entry name as agreed with the teammate.
  9. I clicked OK and the following error appeared.
  10. I am unable to change the credentials of the entry to anything else - I tried "Username and password", "None", but the error still appears.


The only workaround for now is to create a brand new entry and delete this one.

6c67321b-7fad-4f17-a0c5-cd7b974bfa94

6c67321b-7fad-4f17-a0c5-cd7b974bfa94.png

All Comments (1)

avatar
This is the full message:


   at Devolutions.Hub.Clients.HubClient.PutEntryWithStatesAsync(Guid vaultId, Guid entryId, Entry entryToPut, Nullable`1 clientSystemVersion, Nullable`1 clientVaultVersion, CancellationToken cancellationToken)
   at Devolutions.Hub.Clients.HubClient.<>c__DisplayClass158_0.<<PutEntryWithStates>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Devolutions.Hub.Clients.HubClient.PutEntryWithStates(Guid vaultId, Guid entryId, Entry entryToPut, Nullable`1 clientSystemVersion, Nullable`1 clientVaultVersion)
   at Devolutions.RemoteDesktopManager.Managers.DevolutionsHubDataSourceManager.SaveConnectionAsEntry(Guid dataSourceID, Guid repositoryID, Connection toSave, Connection[] currentConnections, Boolean skipHubRefresh)
   at Devolutions.RemoteDesktopManager.Managers.DevolutionsHubDataSourceManager.SaveConnection(Guid dataSourceID, Guid repositoryID, Connection toSave, Boolean forceNoGetCurrentConnections, Boolean skipHubConnectionsRefresh)
   at Devolutions.RemoteDesktopManager.Business.DataSources.HubConnectionDataSource.SaveConnection(ConnectionEngine engine, Connection connection, Boolean skipHubRefresh)