handle http get error in GetShards

Otherwise, the error that's returned is from json.Unmarshal and doesn't
indicate the root cause