Exception: NinjaOne::AuthenticationError

Inherits:
NinjaOneError
  • Object
show all
Defined in:
lib/ninjaone/error.rb

Overview

Raised when authentication to the NinjaOne API fails. This might be due to incorrect credentials, an expired token, or insufficient permissions.

Example:

raise NinjaOne::AuthenticationError, "Invalid client credentials"