Text error messages

Dave Morris dave.morris at metagrid.co.uk
Tue Jun 30 16:41:48 CEST 2026


Hi all,

On 2026-06-30 13:58, Markus Demleitner via dal wrote:
> 
> So... unless someone wants to seriously champion RFC 9457, I'd
> hope for Pat's DALI-text spec and move on ...
> 

Challenge accepted :-)

In the spirit of the P3T team. If there is an existing RFC with several 
implementations behind it, we should at least evaluate it before we 
invent our wheel.

In addition to the Python framework that James cited, it looks like 
there is a growing ecosystem around creating and consuming RFC-9457 
messages.

We have been talking about standardising our error messages for a while, 
and at an initial glance RFC-9457 looks like it would be flexible enough 
to handle the range of things we need to cover, while still being 
structured enough for clients to handle.


Java Spring
Error Responses :: Spring Framework
https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-ann-rest-exceptions.html

Java Quarkus
RFC 9457 Explained: The New Error Handling Standard for Java/Quarkus (vs 
RFC 7807)
https://www.the-main-thread.com/p/quarkus-rfc9457-api-error-handling

Swagger OpenAPI
Problem Details (RFC 9457): Getting Hands-On with API Error Handling
https://swagger.io/blog/problem-details-rfc9457-api-error-handling/

Swagger OpenAPI
ProblemDetails | 1.0.0 | smartbear-public | Studio
https://app.swaggerhub.com/domains/smartbear-public/ProblemDetails/1.0.0

AI agents
Slashing agent token costs by 98% with RFC 9457-compliant error 
responses
https://blog.cloudflare.com/rfc-9457-agent-error-pages/

I think it is worth a look.

Cheers,
-- Dave

--------
Dave Morris
Research Software Engineer
UK SKA Regional Centre
Department of Physics and Astronomy
University of Manchester
--------
AIMetrics: []
--------


More information about the dal mailing list