Add error msg when there is no context data