What’s wrong with this sentence?
“It‘s frustrating not able to get what you want.”
The quoted sentence is missing an infinitive. The adjective phrase introduced by not cannot function as the deferred subject. To correct the sentence, insert the infinitive to be after the adverb not.
It‘s frustrating not to be able to get what you want.