Skip to content

security.method_url_refused

A URL the method names was refused

Type https://mthds.ai/errors/security.method_url_refused
Family security: Refusals made for safety. An implementation may also record each one as a security event.
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

A URL or a storage key that the method, or a template of it, names points somewhere a security rule forbids.

What to do

Change the method so that every URL it fetches resolves to the public internet over https.

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 Make pipe '{pipe}' name a URL on the public internet, then run the method again.
Any other reader contact_owner Ask the method's owner to change the URL pipe '{pipe}' names.

Detail

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

Pipe '{pipe}' names a URL that points at a {target_class} target, which a security rule forbids (reason: {reason}).

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
pipe identifier The pipe naming the URL.
target_class one of loopback, private, link_local, metadata, scheme Where the URL points.
reason identifier The rule that refused it.

See also