Timothy Macharia
Timothy Macharia
 ` Unable to fetch from Redis: One or more errors occurred. @ at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(Object configuration, TextWriter log) at StackExchange.Redis.ConnectionMultiplexer.Connect(ConfigurationOptions configuration, TextWriter...
https://github.com/AfricasTalkingLtd/africastalking.Net/blob/640b1955ffbe7f28da0a14fd1adfdab08813bad7/AfricasTalkingCS/AfricasTalkingGateway.cs#L398 Hi, this check will fail when a string in `null` since you can't call `.Length` on a null string object. I would suggest using [String.IsNullOrWhiteSpace(String)](https://docs.microsoft.com/en-us/dotnet/api/system.string.isnullorwhitespace?view=net-5.0) to do the check....