Getting empty documents

Your N1QL has syntax error. Thanks for replying though.