| 524 | 1 | 500 | InternalError | Something unexpected, please check the service logs for additional details and contact support. | message: String? = null |
| 524 | 5021 | BAD_GATEWAY | UpstreamRequestError | An error happened during an upstream request against another service. The details are in the error-message. | "Error calling $method $requestUri" + (message?.let { ": $it" } ?: "") |
| 524 | 5022 | BAD_GATEWAY | UpstreamInvalidResponse | Received an invalid response from another service. The details are in the logs. | "Invalid response from $method $requestUri" + (message?.let { ": $it" } ?: "") |
| 524 | 5023 | BAD_GATEWAY | UpstreamInvalidErrorResponse | Received an invalid error response from another service. The details are in the logs. | "Invalid error response from $method $requestUri" + (message?.let { ": $it" } ?: "") |
| 524 | 5024 | BAD_GATEWAY | PushProviderErrorResponse | Received an error response from Push Provider. The details are in the logs. | "Error response from push provider ${pushProvider.name} " + (errorCode?.let { "(Code: $it) " } ?: "") + (if (message.isNotEmpty()) "- $message" else "Unknown error") |
| 524 | 5025 | BAD_GATEWAY | UnauthorizedPush | Invalid push credentials | message ?: "Unauthorized" |
| 524 | 5026 | BAD_GATEWAY | InvalidPushToken | Invalid push token in the request | message: String? = "Invalid push token for astClientId: ${pushTokenData.astClientId}" |
| 524 | 5027 | BAD_GATEWAY | NotificationQuotaExceed | Notification quota exceed. | "Notification quota exceed for push provider: ${provider.name}" |
| 524 | 400 | 400 | BadRequest | Invalid data found in the request | message: String? = null |
| 524 | 4001 | 400 | MissingRequiredField | Missing required field in Json object. | "Missing required $location" |
| 524 | 4002 | 400 | MalformedField | Malformed field in Json object. Check the response for additional details. | "Malformed $locationAndReason" |
| 524 | 4003 | 400 | MalformedBody | The body of a request payload is malformed. | "Malformed request body" + (reason?.let { ": $it" } ?: "") |
| 524 | 401 | 401 | Unauthorized | Check OIDC configuration. See service log for additional details. | message ?: "Unauthorized" |
| 524 | 403 | 403 | Forbidden | Check OIDC configuration. See service log for additional details. | message ?: "Forbidden" |
| 524 | 404 | 404 | NotFound | Resource not found. Check that the called URL is correct. | message: String? = null |
| 524 | 4041 | 404 | PushTokenNotFound | PushToken not found. | "Push Token not found for $location" |
| 524 | 4042 | 404 | AppConfigNotFound | App configuration not found. | "App configuration not found for $location" |
| 524 | 4043 | 404 | AccessTokenNotFound | Access token not found. | "Access token not found for tenantId: ${appId.tenantId}, appName: ${appId.appName}" |
| 524 | 4044 | 404 | AppCategoryNotMatch | App categories not match. | "Notification Category $category does not match with Categories$appCategories of app: $appId" |
| 524 | 405 | 405 | MethodNotAllowed | HTTP Method is not allowed. Check the OpenAPI specification to see which endpoints support which HTTP modes. | message: String? = null |
| 524 | 408 | 408 | RequestTimeout | Connection is closed by timeout. | message: String? = null |
| 524 | 409 | 409 | Conflict | Http connection is closed because the client app reconnected to sse stream. | message: String? = null |
| 524 | httpCode.code() | httpCode | GenericHttpError | | message ?: httpCode.reasonPhrase() |
| 524 | 5001 | 500 | DbError | Database Error. Check the availability and functionality of the database. " + "See service log for additional details. | "Database Error" + (details?.let { ": $it" } ?: "") |
| 524 | 5002 | TBD | KafkaError | Kafka Error. Check the availability and functionality of the kafka service. " + "See service log for additional details. | "Kafka Error" + (details?.let { ": $it" } ?: "") |
| 524 | 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>" |
| 524 | 50020 | 500 | TrustStoreDoesNotExist | Database Error. Truststore does not exist | "The configured $purpose truststore file at <$file> does not exist" |
| 524 | 50021 | 500 | TrustStoreRequired | Database Error. Truststore is required | "A trust store is required for SSL mode $mode, but non is configured" |
| 524 | 50022 | 500 | UnsupportedNotificationType | Unsupported Notification Type. | "Unsupported Notification Type: $type" |
| 524 | 503 | 503 | ServiceUnavailable | The service's availability was disrupted, look for details in the message. | "The service's availability was disrupted" |
| 524 | code | httpCode | AnyServiceError | | message: String? |
| 524 | code | httpCode | AstPushError | | message: String? = null |