Get Asset And Get Credential Not Working

Get Asset and Get Credential activities throwing error after Orchestrator upgrade. Also, the Job goes in pending state, but the Robot status stays available.

  1. Go to the location where Orchestrator is installed. Path:

Run -> Type "Inetmgr" -> Sites -> Select Orchestrator website -> Right-click and select "Explore" -> It will open the folder where Orchestrator is installed. Refer to the screenshot below:

  1. Open the web.config(for v2020.4.x or lower)/UiPath.Orchestrator.dll.config(for v2020.10.x or higher) file located in the installation directory. Look for "EncryptionKey" and ensure it is the same as the Encryption key of the previous version. Repeat the same for "Decryption Key"