Kratos status codes make no sense. Many counter-intuitive. Suggestion: if is error, return error status code; if is not error, do not return error status code.
m
magnificent-energy-493
12/10/2025, 3:08 PM
Hey @late-flag-69572
thanks for the feedback - feel free to open an issue on github if you have any concrete ideas how to improve the status codes.
changing these is not trivial since it needs to not break existing production systems.
l
late-flag-69572
12/10/2025, 3:30 PM
@magnificent-energy-493 can actions based on error message id be relied upon long term?
m
magnificent-energy-493
12/10/2025, 3:59 PM
the idea is to have few if any breaking changes.
if there are we will announce them several months in advance.
on our commercial offerings (Ory Network + Ory Enterprise License) changes are almost always backwards compatible