Skip to content

model.no_result

The model found nothing for this request

Type https://mthds.ai/errors/model.no_result
Family model: The model a step names.
Domain input: the caller acts, by changing the request or its inputs
Retry no: repeating the operation fails the same way
HTTP status 422
Raised as a problem document, sent as the body of an HTTP response or kept in a run's record

What it means

A search or fetch model returned no result for the query built from the inputs.

What to do

Broaden or correct the inputs the query is built from, such as a search term or a URL.

Next steps

A problem carries the step aimed at whoever reads it: the first when its reader is the domain's actor, the caller, and the second for any other reader.

Reader Kind Detail
The domain's actor change_input Broaden the inputs the query is built from, then send the request again.
Any other reader change_input Pass this to the caller, whose query found nothing.

Detail

The problem's detail is written from this template, filled with the occurrence's parameters:

The model '{model}' returned no result for the query built from the inputs.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
model identifier The search or fetch model.

See also