Added error for output token issue