Talewright Docs Open the app

What is the difference between an error code and a details.reason?

The code names the kind of failure and decides the HTTP status. The reason narrows it down for the codes that have several causes: UNAUTHENTICATED, FORBIDDEN, CONFLICT and UNAVAILABLE.