The Guile API uses RFC 9457 Problem Details for HTTP APIs to provide structured error responses. When an API operation fails, you’ll receive a response with the content type application/problem+json that includes detailed information about what went wrong.Each problem response includes:
id: A unique identifier for this problem occurrence
type: A URI that identifies the specific problem type
title: A short, human-readable summary of the problem
status: The HTTP status code
detail: A human-readable explanation specific to this occurrence
instance: A URI reference that identifies the specific occurrence
attributes: Additional data specific to the problem type (optional)
When you encounter an error response, check the type field to understand the specific problem. Each problem type has its own documentation page with:
Detailed description of when this problem occurs
Specific remediation steps
Additional attributes that may be included
The problem type URI serves as both an identifier and a link to the documentation, making it easy to understand and resolve issues programmatically or manually.Problems are listed per operation per response in the API Reference.