Microsoft.Extensions.Options.OptionsValidationException – Configuration options validation failed
The Microsoft.Extensions.Options.OptionsValidationException with the message “Configuration options validation failed” occurs in .NET applications when the validation of configuration options fails. This typically happens when using the IOptions<T>, IOptionsSnapshot<T>, or IOptionsMonitor<T>….