Skip to content

provider.response_invalid

The provider's answer could not be used

Type https://mthds.ai/errors/provider.response_invalid
Family provider: The inference provider behind a model.
Domain runtime: nobody could have acted beforehand, so whoever made the call waits, retries or reports the problem
Retry yes: repeating the operation may succeed, after retry_after seconds when the problem gives it
HTTP status 502
Raised as a problem document, sent as the body of an HTTP response or kept in a run's record

What it means

The provider stopped normally but gave an empty or unreadable answer.

What to do

Run the method again, since the next answer may be sound.

Next steps

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

Reader Kind Detail
The domain's actor retry Run the method again.
Any other reader retry Run the method again.

Detail

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

The provider '{provider}' gave an answer the runtime cannot use ({defect}).

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
provider identifier The provider.
defect one of empty, malformed Whether the answer was empty or unreadable.

See also