Console ↗

UnprocessableEntityError

The model could not interpret the supplied decision request. Check primitive criteria and image references.

Identification

Extends APIError. The status property contains the HTTP status returned by the server.

Handle in application code

import {UnprocessableEntityError} from "./ngila.mjs";
try {
  await client.models();
} catch (error) {
  if (!(error instanceof UnprocessableEntityError)) throw error;
  console.error(error.name, error.status);
}

Request rules and errors →