Resolving errors in endpoints dispatcher.