if empty listpost, return errorcode = 204