Internal server error

internal_error HTTP 500

Something failed on our side. The request was not necessarily rejected — for an unsafe request, do not assume it did nothing.

Retrying a read is safe. For an unsafe request, a 500 releases its Idempotency-Key, so retrying with that key genuinely runs again rather than replaying the failure — which is what lets a transient fault recover, but does mean an operation that had already taken effect before the error can take effect twice. Where that matters, read the resource back before retrying.

How to react to this in code

Switch on the code member — internal_error — which is stable. Do not parse the type URI: it points here, and where "here" is may change.