Skip to content

request.unsupported

The request uses a form this runtime does not accept

Type https://mthds.ai/errors/request.unsupported
Family request: The HTTP request itself, before any run.
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

The request is well formed, but uses a form this runtime never supports, such as a method address in a form it does not resolve, or a member that only an extension of another implementation defines.

What to do

Remove the member, or change its form to one this runtime documents. A request written against the protocol alone uses no form this code refuses.

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 Send the field '{field}' in a form this runtime accepts, then send the request again.
Any other reader change_input Pass this to the caller, who must send the field '{field}' in a form this runtime accepts.

Detail

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

This runtime does not accept the form the request's field '{field}' uses (reason: {reason}).

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
field identifier The field of the request, as a dotted path, that uses the form.
reason identifier Which form the runtime refuses.

See also