How to fix “IDX20804: Unable to retrieve document from: ‘[PII is hidden]'” error in C#

First, to solve this issue, you need to find out what the error is. Set this in your Startup.cs to reveal the real error (not recommended for a production environment):

if (env.IsDevelopment())
{
    IdentityModelEventSource.ShowPII = true;
}

In my case, I had a proxy issue running it locally inside the corporate network.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)