# Functions
{ "type": "/errors/providers", "title": "Failure calling access provider", "status": http.StatusBadRequest, "error": err.Error(), }.
{ "type": "/errors/providers", "title": "Partial failure calling access provider", "status": http.StatusMultiStatus, "error": err.Error(), }.
{ "type": "/errors/middleware-auth", "title": "Invalid token", "scope": scope, "status": http.StatusUnauthorized, "error": err.Error(), }.
{ "type": "/errors/middleware-auth", "title": "Required headers are missing", "status": http.StatusUnauthorized, "error": err.Error(), }.
{ "type": "/errors/middleware-auth", "title": "Failed to init OIDC provider", "status": http.StatusUnauthorized, "error": err.Error(), }.
{ "type": "/errors/middleware-auth", "title": "Token verification failed", "scope": scope, "status": http.StatusUnauthorized, "error": err.Error(), }.
{ "type": "/errors/base64", "title": "Failed to decode/encode base64", "status": http.StatusInternalServerError, "error": err.Error(), }.
{ "type": "/errors/database", "title": "Failed to insert into database", "status": http.StatusBadRequest, "error": err.Error(), }.
{ "type": "/errors/database", "title": "Record not found", "status": http.StatusBadRequest, }.
{ "type": "/errors/database", "title": "Failed to query the database", "status": http.StatusBadRequest, "error": err.Error(), }.
{ "type": "/errors/user-profile", "title": "Invalid user profile configuration", "status": http.StatusBadRequest, "error": err.Error(), }.
{ "type": "/errors/json-decode", "title": "Failed to decode JSON", "status": http.StatusBadRequest, "error": err.Error(), }.
{ "type": "/errors/schema-validation", "title": "Schema validation failed", "status": http.StatusBadRequest, "error": err.Error(), }.
{ "type": "/errors/teleport-api", "title": "Failure Teleport API", "status": http.StatusBadRequest, "error": err.Error(), }.
{ "type": "/errors/tracing", "title": "Failure creating trace", "status": http.StatusInternalServerError, "error": err.Error(), }.
{ "type": "/errors/yaml-decode", "title": "Failed to decode YAML", "status": http.StatusBadRequest, "error": err.Error(), }.
{ "type": "/status/success", "title": "Record successfully created", "status": http.StatusCreated, }.
{ "type": "/status/success", "title": "Record successfully deleted", "status": http.StatusOK, }.
{ "type": "/status/denied", "title": "You are not authorised to perform this action", "status": http.StatusForbidden, }.
{ "type": "/status/ok", "title": "Operation was successful", "status": http.StatusOk, }.
{ "type": "/status/success", "title": "Record successfully updated", "status": http.StatusCreated, }.