Place blocks in specific places to open a door?

Any Idea as to why it says the target is invalid?