Services Error Codes (SubSystem 771)
SubSystem | ErrorCode | Http Code | Name | Details and Troubleshooting | Console Message |
---|---|---|---|---|---|
771 | 10 | 400 | UpstreamInvalidResponse | message: String? = null | |
771 | 11 | 400 | UpstreamInvalidErrorMessage | message: String? = null | |
771 | 400 | 400 | BadRequest | Invalid data found in the request. Check the response for additional details. | message: String? = null |
771 | 422 | 400 | UnprocessableEntity | Exception while converting sql row into the cqrs event. Check database doesn't include invalid cqrs events. Check the response for additional details. | message: String? = null |
771 | 400 | 400 | ValidationFieldLength | "[Bad Request] Validation error for body application/json: provided string should have size <= $maxLength for field $fieldName" | |
771 | 401 | 401 | Unauthorized | Check OIDC configuration. See service log for additional details. | message: String? = "Unauthorized" |
771 | 403 | 403 | Forbidden | Check OIDC configuration. See service log for additional details. | message: String? = "Forbidden" |
771 | 404 | 404 | NotFound | Resource not found. Check that the called URL is correct. | message: String? = "Not Found" |
771 | 405 | 405 | MethodNotAllowed | HTTP Method is not allowed. Check the OpenAPI specification to see which endpoints support which HTTP modes. | message: String? = "Method Not Allowed" |
771 | 500 | 500 | InternalError | message: String? = null | |
771 | 501 | 501 | NotImplementedError | The called endpoint is not yet implemented. Check that the installed service version is correct. | message: String? = "Not Implemented" |
771 | 503 | 503 | ServiceUnavailableError | Service is unavailable for API calls. Check that data migration is finished. Wait couple of seconds, and retry again. | message: String? = "Service Unavailable" |
771 | 1100 | 404 | SaveServiceImagesNotFound | Missing Image resource while creating a Service. Check referenced Images in the Service is available. | "Images not found. Ids: ${inputImageReferenceIds.joinToString(",")}" |
771 | 1102 | 404 | UpdateServiceImagesNotFound | Missing Image resource while updating a Service. Check referenced Images in the Service is available. | "Images not found. Ids: ${inputImageReferenceIds.joinToString(",")}" |
771 | 1103 | 404 | ImageNotFound | Missing Image resource when requested. Check requested Image is available in the service. | "imageId $imageId on tenant $tenant not found" |
771 | 1104 | 404 | ServiceNotFound | Missing Service resource when requested. Check requested Service resource is available in the service. | "Service $serviceId on tenant $tenant not found" |
771 | 1105 | 404 | SaveSectionServiceNotFound | Missing Service resource while creating a Section. Check referenced Services in the Section is available. | "Services not found. Ids: ${services.joinToString(", ")}" |
771 | 1106 | 404 | UpdateSectionServiceNotFound | Missing Service resource while updating a Section. Check referenced Services in the Section is available. | "Services not found. Ids: ${services.joinToString(", ")}" |
771 | 1107 | 404 | SectionNotFound | Missing Section resource when requested. Check requested Section is available in the service. | "Section $sectionId on tenant $tenant not found" |
771 | 1108 | 404 | SectionsNotFound | "Section(s) ${sectionIds.joinToString(", ")} on tenant $tenant not found" | |
771 | 1109 | 404 | UpdateLayoutSectionsNotFound | Missing Section resource while updating a Layout. Check referenced Sections in the Layout is available. | "Sections not found. Ids: ${sections.joinToString(", ")}" |
771 | 1110 | 500 | LayoutQueryException | Exception happened while executing Layout queries. Check the response for additional details. | throwable.message |
771 | 1111 | 500 | ServiceQueryException | Exception happened while executing Service queries. Check the response for additional details. | throwable.message |
771 | 1112 | 500 | CqrsMigrationException | Exception happened while migrating from CRUD to CQRS. Check the response for additional details. | throwable.message |
771 | 4001 | 400 | MissingRequiredField | Missing required field in Json. Check the response for additional details. | "Missing required $location" |
771 | 4002 | 400 | MalformedField | Malformed field in Json. Check the response for additional details | "Malformed $locationAndReason" |
771 | 4003 | 400 | InvalidLocalizableImageReferenceJson | Error happened on parsing a LocalizableImagetReference json. Check the response for additional details. | "Error parsing LocalizableImagetReference: <${error.message}>" |
771 | 4004 | 400 | InvalidBannerJson | Error happened on parsing a Banner json. Check the response for additional details. | "Error parsing Banner: <${error.message}>" |
771 | 5006 | 500 | UndoError | Failure while undoing the last event. Check the response for additional details. | "Can't undo last Event" |
771 | 5015 | 500 | UnexpectedEventVersion | Expected event version does not match with actual. Integrity check failure. Just retry an action. | "Expected event version $expected does not match with actual $actual" |
771 | 5024 | 500 | CannotAcquireLock | Cannot acquire lock within timeout. Check if the pod is overloaded and needs more computing resources. | "Cannot acquire a lock within $acquireTimeout" |
771 | 5025 | 500 | UndoOperationValidation | Cannot undo as the internal memory is not up-to-date. Please wait a little bit, and retry again | "Internal memory version $undoVersion is not up-to-date with actual version $eventStorageVersion for undo operation" |
771 | 5026 | 412 | VersionPreconditionFailed | Cannot execute request against expected version. Please wait a little bit, and retry again | "Waiting for version $expectedVersion timed out" |
771 | 6006 | 500 | UndoCommandNotImplementedError | Undo operation for the respected event is not implemented yet. Check that the installed service version is correct. | "Undone for ${cqrsMessageTypes.name} is not implemented yet" |
771 | 6009 | 404 | CommandNotFoundByVersion | Event with the given version was not found. Please check if the database content is correct. | "Command not found: version=$version" |
771 | status.code() | status | GenericHttpError | message ?: status.reasonPhrase() |
Additional Details and Troubleshooting
Deprecated Errors Table
SubSystem | ErrorCode | Http Code | Name | Details and Troubleshooting | Console Message |
---|---|---|---|---|---|
771 | 5007 | 500 | UnexpectedTenantMapEvent | Deprecated since 20.0.0 | "Unhandled Event $cqrsMessages" |
771 | 7001 | 500 | KafkaWaitTimeout | Deprecated since 20.0.0 | "Event with ulid $ulid was not received" |
771 | 1113 | 404 | HomescreenNotFound | Moved to cqrs-lib since 22.0.0 | "Homescreen $homescreenId on tenant $tenant not found" |
771 | 1114 | 404 | AudienceNotFound | Moved to cqrs-lib since 22.0.0 | "Audience $audienceId not found on tenant $tenant" |
771 | 1115 | 404 | HomescreensNotFound | Moved to cqrs-lib since 22.0.0 | "Homescreen $homescreenIds on tenant $tenant not found" |
771 | 1116 | 400 | DefaultHomescreenCantChangeOrder | Moved to cqrs-lib since 22.0.0 | "Can not change order for Default Homescreens. Tenant $tenant" |
771 | 5000 | 400 | SectionValidation | Moved to cqrs-lib since 22.0.0 | "Incomplete Section. All referenced service IDs must exist." |
771 | 5001 | 400 | ServiceValidation | Moved to cqrs-lib since 22.0.0 | message: String |
771 | 5002 | 400 | BranchValidation | Moved to cqrs-lib since 22.0.0 | message: String |
771 | 5003 | 400 | WrongUlidSequence | Moved to cqrs-lib since 22.0.0 | "Event $ulid with prev ulid $prevUlid has not match with the last known ulid $currentLastUlid" |
771 | 5004 | 404 | BranchNotFound | Moved to cqrs-lib since 22.0.0 | "Branch $branch not found" |
771 | 5005 | 404 | NoCommandsForUndo | Moved to cqrs-lib since 22.0.0 | "No commands for Undo" |
771 | 5008 | 500 | UnexpectedBranchMapEvent | Moved to cqrs-lib since 22.0.0 | "Unhandled Event $cqrsEvent" |
771 | 5009 | 500 | UnexpectedViewEvent | Moved to cqrs-lib since 22.0.0 | "Unhandled Event $cqrsMessages" |
771 | 5010 | 409 | LiveViewChangesNotSaved | Moved to cqrs-lib since 22.0.0 | "Changes on the current branch is not saved" |
771 | 5011 | 400 | CyclicSectionsValidation | Moved to cqrs-lib since 22.0.0 | "Cyclic sections are detected" |
771 | 5012 | 400 | SectionValidationBySection | Moved to cqrs-lib since 22.0.0 | "Incomplete Section. All referenced section IDs must exist." |
771 | 5014 | 400 | UlidParseError | Moved to cqrs-lib since 22.0.0 | "Can't parse ulid $msg" |
771 | 5016 | 400 | HomescreenValidation | Moved to cqrs-lib since 22.0.0 | "Incomplete Homescreen. All referenced section IDs must exist." |
771 | 5017 | 400 | HomescreenAudienceExistsValidation | Moved to cqrs-lib since 22.0.0 | "Homescreen already contains audiences: $ids" |
771 | 5018 | 400 | HomescreenAudienceNotFound | Moved to cqrs-lib since 22.0.0 | "Homescreen $homescreenId does not contain audience $audienceId" |
771 | 5019 | 400 | HomescreenDefaultExists | Moved to cqrs-lib since 22.0.0 | "Default Homescreen $homescreenId already exists" |
771 | 5020 | 400 | HomescreenDefaultOperationNotAllowed | Moved to cqrs-lib since 22.0.0 | "This operation not allowed with default Homescreen $homescreenId" |
771 | 5021 | 400 | BannerImageValidation | Moved to cqrs-lib since 22.0.0 | "Incomplete Banner. All referenced images IDs must exist." |
771 | 5022 | 400 | BannerServiceValidation | Moved to cqrs-lib since 22.0.0 | "Incomplete Banner. Referenced service must exist." |
771 | 5023 | 400 | SectionValidationByBanner | Moved to cqrs-lib since 22.0.0 | "Incomplete Section. All referenced banner IDs must exist." |
771 | 5027 | 400 | SectionValidationByImage | Moved to cqrs-lib since 22.0.0 | "Incomplete Section. All referenced image IDs must exist." |
771 | 6001 | 404 | ServiceNotFoundCqrs | Moved to cqrs-lib since 22.0.0 | "Service $serviceId not found" |
771 | 6002 | 404 | SectionNotFoundCqrs | Moved to cqrs-lib since 22.0.0 | "Section $serviceId not found" |
771 | 6003 | 404 | TenantNotFound | Moved to cqrs-lib since 22.0.0 | "Tenant $tenant not found" |
771 | 6004 | 404 | BranchExistsAlready | Moved to cqrs-lib since 22.0.0 | "Branch $branch in tenant $tenant exists already" |
771 | 6005 | 404 | CommandNotFound | Moved to cqrs-lib since 22.0.0 | "Command $ulid not found" |
771 | 6007 | 404 | HomescreenNotFoundCqrs | Moved to cqrs-lib since 22.0.0 | "Homescreen $homescreenId not found" |
771 | 6008 | 404 | BannerNotFoundCqrs | Moved to cqrs-lib since 22.0.0 | "Banner $bannerId not found" |
Error Codes between 1000-1099
These error codes are reserved for OIDC library
which is basically related with authentication of tenants.
If you see these errors, try to understand it from OIDC-Client library documentation. If not, contact with smartscreen
team. There is a possibility of involvement of IDP in the problem-solving session.
Error Codes between 4001-4002
These error codes related with JSON parsing
. Try to understand what is exactly failing from the response details.
If not, contact with smartscreen team.
Error Codes between 7000-7999
These error codes are reserved for Smartscreen CQRS Library
which is responsible everything about the CQRS pattern.
If you see these errors, please check Smartscreen CQRS Library error codes documentation for better understanding.
If not, contact with smartscreen team.