Skip to content

sql-method-not-allowed

Type URI: https://irvinebroque.com/problems/sql-method-not-allowed

HTTP status: 405

Title: Method Not Allowed

Default detail: Use QUERY to execute SQL, HEAD for capabilities, or OPTIONS for preflight.

Client action: Retry with QUERY, HEAD, or OPTIONS as appropriate.

Problem-Details header

Responses carry their type and title in the Problem-Details Structured Field using draft-nottingham-problem-header-00. Occurrence detail and instance remain in the body. The JSON problem document takes precedence over conflicting header values.

This type defines no extensions for transmission in the header.

API endpoints can return a more specific detail value for the same type, while keeping this URI stable for machine-readable classification.

Extension members

Responses with this problem type can include the following RFC 9457 extension members. Clients must ignore extension members they do not recognize.

links (array)
Typed links with rel, href, type, and title members. service-desc identifies the machine-readable SQL profile, service-doc identifies API documentation, and alternate identifies the human data explorer.