NU1102: Unable to Find Package X with Version Y

How to resolve the error "NU1102: Unable to find package X with version Y" that occurs when trying to run a process from Orchestrator?

After updating Orchestrator from 2020.4 to 2020.10.5 version, it might be possible to receive the error “NU1102: Unable to find package X with version Y”, when trying to trigger a process to run from Orchestrator.
Also, it can happen that the process packages disappear from the UiPath Assistant/ Robot tray.

Collect the Event Viewer traces from the Orchestrator server and Robot machine, and search for one of the following error:

  • Authentication failedMicrosoft.IdentityModel.Tokens.SecurityTokenInvalidSigningKeyException: IDX10249: X509SecurityKey validation failed. The associated certificate has expired. ValidTo (UTC): '[PII is hidden. For more details, see https://aka.ms/IdentityModel/PII.]', Current time (UTC): '[PII is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'.
  • Authentication failedMicrosoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException: IDX10214: Audience validation failed. Audiences: '[PII is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'. Did not match: validationParameters.ValidAudience: '[PII is hidden. For more details, see https://aka.ms/IdentityModel/PII.]' or validationParameters.ValidAudiences: '[PII is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'.
  • NU1102: Unable to find package X with version Y
Follow the below steps:
  • check the appsettings.Production.json file from Orchestrator/Identity folder, the SigningCredentialSettings > Thumbprint  > Name, if it is not different from the Thumbprint/Certificate Hash of the Certificate, which should be the same
  • If it is different, update the appsettings.Production.json with the Thumprint, save the file, and restart the IIS website (in a free window when no process is running).
Certificate Details

Appsettings.Production.json