client.output_mismatch
An output does not match the generated types
| Type | https://mthds.ai/errors/client.output_mismatch |
| Family | client: What a client detects itself, and never receives as a response body. |
| Domain | input: the caller acts, by changing the request or its inputs |
| Retry | no: repeating the operation fails the same way |
| HTTP status | none (client) |
| Raised as | an error a client detects itself, never received from a runner |
What it means
The caller's generated types refuse an output that the method declares, usually because the method changed after they were generated.
What to do
Generate the types again from the current method.
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 |
Generate the types again from the method as it is now. |
| Any other reader | change_input |
Generate the types again from the method as it is now. |
Detail
The problem's detail is written from this template, filled with the occurrence's parameters:
The output field '
{field}' does not match the generated type of the concept '{concept}'.
Parameters
Every parameter is present on every occurrence of the code.
| Name | Type | Description |
|---|---|---|
field |
identifier |
The output field. |
concept |
identifier |
The concept whose generated type refuses it. |
See also
- Error Registry, which describes the members of this page
- Error Codes, every code of the core registry