you have to update the app store first, one by one, not in one go, expand the update list, choose one first
don’t try to download 10.9 as apple mentioned, 10.9 was remove by apple, you can download mac os sierra from apple offical website:
https://support.apple.com/en-us/HT208202