511 | 500 | 500 | InternalError | An unexpected error occurred, check for details in the logs. | "An unexpected error occurred" |
511 | 503 | 503 | ServiceUnavailable | The service's availability was disrupted, look for details in the message. | "The service's availability was disrupted" |
511 | status.code() | status | GenericHttpError | General http error, look for details in the message and status code. | message ?: status.reasonPhrase() |
511 | 401 | 401 | Unauthorized | Bearer header was missing on the request. Ensure all the required fields are present and correct in request | "A proper Authorization: Bearer header was missing on the request" |
511 | 4011 | 401 | TlsClientAuthMissing | No valid client certificate provided. Ensure client certificate is present in the request and valid. | "TLS Client Authentication is required but was missing on the request" |
511 | 400 | 400 | BadRequest | Invalid data found in the request. Check the response for additional details. | "Invalid data found in the request" |
511 | 4001 | 400 | MissingField | Missing required field in Json object. Ensure all the required fields available in the Json object, check the response for missing field | "Missing required $location" |
511 | 4002 | 400 | MalformedField | Malformed field in Json object. Check the response for additional details | "Malformed $locationAndReason" |
511 | 4003 | 400 | MalformedBody | Malformed request body. Check the request body | "Malformed request body" + (reason?.let { ": $it" } ?: "") |
511 | 4004 | 400 | BadFilter | Error while applying filter to access resources in storage. Check the query parameters that are used for filtering | "Bad filter: '$filter': $reason" |
511 | 4041 | 404 | ClientNotFound | The client with required ID was not found. Check if a client with the required ID exists in the database | "The client with ID <$astClientId> was not found" |
511 | 4041 | 404 | UserNotFound | The user with required ID was not found. Check if a user with the required ID exists in the database | "The user with ID <$userId> was not found" |
511 | 4042 | 404 | LinkedUsersNotFound | Linked users for the client with required ID were not found. Check if there are users associated with a client with a given ID in the database | "Linked users for the client with ID <$astClientId> were not found" |
511 | 4043 | 404 | LinkedClientsNotFound | Linked clients for the user with required ID and filter were not found. Check if there are clients associated with a user with a given ID in the database or check filters | "Linked clients for the user with ID <$userId> ${if (filter != null) "and filter <$filter> " else " "}were not found" |
511 | 4044 | 404 | UserLinkNotFound | User link for the user with required ID and for the client with required ID was not found. Check links between required user and client in the database | "User link for the user with ID <$userId> and for the client with ID <$astClientId> was not found" |
511 | 4044 | 404 | UserMultiLinkNotFound | User link for the user with required ID and for the clients with required IDs was not found. Check links between required user and clients in the database | "User link for the user with ID <$userId> and for the clients with IDs <$astClientIds> was not found" |
511 | 4045 | 406 | ClientAlreadyLocked | Current client already locked. Check client locking status in the database | "Current client already locked." |
511 | 4046 | 406 | ClientNotLocked | Current client not locked and unlock operation cannot be performed. Check client locking status in the database | "Current client not locked and unlock operation cannot be performed." |
511 | 4048 | 409 | LocalesDuplicate | Locales already exist for tenantID, userID and clientID. Check locales for for tenantID, userID and clientID in the database | "Locales already exist for tenantID, userID and clientID." |
511 | 4049 | 304 | LocalesNotUpdated | Preferred user's locales was not updated. Check service and database availability | "Preferred user's locales was not updated." |
511 | 4050 | 403 | ClientIsLinked | Client is linked to user and cannot be deleted. Check all client links before deleting | "Client is linked to user and cannot be deleted." |
511 | 4051 | 404 | LocalesNotFound | No locales found | "No locales found" |
511 | 4052 | 404 | ClientsNotFound | Clients not found. Check if a clients exist. | "Clients not found. IDs: ${clientIds.joinToString()}" |
511 | 4053 | HttpResponseStatus.UNPROCESSABLE_ENTITY | UnprocessableEntity | Unprocessable entity | message: String? = null |
511 | 5001 | 500 | DbError | Database Error. Check the availability and functionality of the database. See service log for additional details | "Database Error" + (details?.let { ": $it" } ?: "") |
511 | 5002 | 500 | KafkaError | Kafka Error. Check the availability and functionality of the kafka service. See service log for additional details | "Kafka Error" + (details?.let { ": $it" } ?: "") |
511 | 5003 | 503 | KafkaDown | Kafka service is unavailable. Check the availability and functionality of the kafka service. See service log for additional details | "Kafka is down. This operation cannot be performed." |
511 | 50010 | 500 | UnknownTopicRoutingKey | Encountered an outbox item with the unknown topic routing key. Check topic routing key of the required OutboxItem in the database. See service log for additional details | "Encountered an outbox item with the unknown topic routing key '$key'" |