Class UnprocessableEntityException

All Implemented Interfaces:
io.agentscope.core.model.ModelHttpException, Serializable

public class UnprocessableEntityException extends OpenAIException
Exception thrown when the request is well-formed but semantically incorrect (HTTP 422).

Common causes:

  • Parameter values out of range
  • Conflicting parameters
  • Validation errors
See Also:
  • Constructor Details

    • UnprocessableEntityException

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