Skip to content

method.fetch_failed

The method could not be fetched

Type https://mthds.ai/errors/method.fetch_failed
Family method: The method as written, the validation vocabulary included.
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 host serving the method, or one of its dependencies, did not answer or failed while the runtime fetched it.

What to do

Send the request again after a while. If the host keeps failing, check that the method's repository is reachable from the runtime.

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 Send the request again, since the host serving the method may answer later.
Any other reader retry Send the request again, since the host serving the method may answer later.

Detail

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

The method '{method_ref}', or one of its dependencies, could not be fetched.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
method_ref identifier The method or the dependency that could not be fetched.

See also