return server error if query fails