类 AuthenticationException

所有已实现的接口:
Serializable

public class AuthenticationException extends OpenAIException
Exception thrown when authentication fails (HTTP 401).

Common causes:

  • Invalid or missing API key
  • Expired API key
  • Incorrect authentication header
另请参阅:
  • 构造器详细资料

    • AuthenticationException

      public AuthenticationException(String message, String errorCode, String responseBody)