For the walnuts growing on bushes, you need to stand directly next to them to harvest. Since you only mention the ones on cliffs I assume you try to harvest them from the ground? There is always a tunnel or some other way to access them.
You can look up the locations on the wiki or if you want less spoilers of you write which ones specifically (or provide a screenshot) during can tell you the way.