Despite all this, however, nationwide polling was not far off from the actual popular vote result, and in fact very few states had results that deviated from the margin of error in the polling average. In a FiveThirtyEight article, Nate Silver defended the performance of the polls in 2016 as historically average, and argued that "Media organizations need to do a better job of informing their readers about the uncertainties associated with polling".
https://en.m.wikipedia.org/wiki/Nationwide_opinion_polling_for_the_2016_United_States_presidential_election