Skip to content

method.mock_unsatisfiable

The dry run cannot mock an output concept

Type https://mthds.ai/errors/method.mock_unsatisfiable
Family method: The method as written, the validation vocabulary included.
Domain method: the method's author acts, by changing the method
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

Validation's dry run needs a mock value of an output concept, and no value satisfies the concept's constraints together.

What to do

Find the constraints of the concept that contradict each other, such as a default outside its choices, and relax one of them.

Next steps

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

Reader Kind Detail
The domain's actor change_method Loosen the constraints of the concept '{concept}' so that a value can satisfy them, then validate the method again.
Any other reader contact_owner Ask the method's owner to make the concept '{concept}' satisfiable.

Detail

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

The dry run cannot mock the concept '{concept}', since no value satisfies its constraints.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
concept identifier The concept no mock value satisfies.

See also