If the vote had passed it would have paved the way for Palestinian UN member status, bringing the occupied territory a step closer to independence.