Skip to main content

MethodNotAllowed

Andromeda answers 405 with the problem type https://uri.etsi.org/ngsi-ld/errors/MethodNotAllowed. The resource exists, but it doesn't serve the method you used. The Allow header names the methods it does serve. This type is Andromeda's own, because the specification lists 405 in its HTTP binding but gives it no error type. See Andromeda's own types.

When this comes back​

A request uses a method the resource doesn't serve, such as PUT /ngsi-ld/v1/entities. The detail names the method, and instance is the request target. A method that a disabled extension would add to an existing resource gets the same answer. A path that doesn't exist at all is 404 instead.

Send the request with one of the methods the Allow header lists.