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 | 1113 | 404 | HomescreenNotFound | Missing Homescreen resource when requested. | "Homescreen $homescreenId on tenant $tenant not found" |
771 | 1114 | 404 | AudienceNotFound | Missing Audience resource when requested. | "Audience $audienceId not found on tenant $tenant" |
771 | 1115 | 404 | HomescreensNotFound | Missing Homescreens resource when requested. | "Homescreen $homescreenIds on tenant $tenant not found" |
771 | 1116 | 400 | DefaultHomescreenCantChangeOrder | Uuids of default homrscreens is present in list for ordering homescreens. Delete it from list. | "Can not change order for Default Homescreens. Tenant $tenant" |
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 | 5000 | 400 | SectionValidation | Missing Service resource while creating a Section with cqrs. Check referenced Services in the Section is available. | "Incomplete Section. All referenced service IDs must exist." |
771 | 5001 | 400 | ServiceValidation | Reports a violation of some condition found during Service validation. Check supplied message. | message: String |
771 | 5002 | 400 | BranchValidation | Validation of Branch fails. Check the response for additional details. | message: String |
771 | 5003 | 400 | WrongUlidSequence | Events order is not correct. Check the response for additional details. | "Event $ulid with prev ulid $prevUlid has not match with the last known ulid $currentLastUlid" |
771 | 5004 | 404 | BranchNotFound | Requested Branch is not available. Check requested Branch is available in the service, use GET /branches from smartscreen-dashboard. | "Branch $branch not found" |
771 | 5005 | 404 | NoCommandsForUndo | Unable to undo. There are no commands to undo, do some operations. Then, try again. Or, use GET /history from smartscreen-dashboard to see commands history. | "No commands for Undo" |
771 | 5006 | 500 | UndoError | Failure while undoing the last event. Check the response for additional details. | "Can't undo last Event" |
771 | 5008 | 500 | UnexpectedBranchMapEvent | Unhandled event for the BranchMap. Ensure Cqrs event is a valid event, check the response for additional details. | "Unhandled Event $cqrsEvent" |
771 | 5009 | 500 | UnexpectedViewEvent | Unhandled event for the View. Ensure Cqrs event is a valid event, check the response for additional details. | "Unhandled Event $cqrsMessages" |
771 | 5010 | 409 | LiveViewChangesNotSaved | Changes are not saved in the current branch. Ensure changes are saved before switching to another branch. | "Changes on the current branch is not saved" |
771 | 5011 | 400 | CyclicSectionsValidation | Cyclic sections are detected. Ensure nested Sections don't have any cyclic relationship. i.e. A Section's child Section cannot contain parent Section in its content. | "Cyclic sections are detected" |
771 | 5012 | 400 | SectionValidationBySection | Missing Section reference in another Section's content. Ensure referenced Sections inside of the Section's content is available. | "Incomplete Section. All referenced section IDs must exist." |
771 | 5014 | 400 | UlidParseError | Can't parse ulid. Ensure Ulid in json is exist and correct. | "Can't parse ulid $msg" |
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 | 5016 | 400 | HomescreenValidation | Missing Section resource while creating/updating a Homescreen. Check referenced Sections in the Homescreen is available. | "Incomplete Homescreen. All referenced section IDs must exist." |
771 | 5017 | 400 | HomescreenAudienceExistsValidation | Homescreen already has audience. Check referenced Audience in the Homescreen is available | "Homescreen already contains audiences: $ids" |
771 | 5018 | 400 | HomescreenAudienceNotFound | Missing Audience resource while deleting an Audience from the Homescreen. Check requested Audience is available in the Homescreen, use GET /homescreen/{id} from smartscreen-dashboard. | "Homescreen $homescreenId does not contain audience $audienceId" |
771 | 5019 | 400 | HomescreenDefaultExists | Default Homescreen already exists while creating a Homescreen. Ensure id of Homescreen is not reserved for the Dafult Homescreens | "Default Homescreen $homescreenId already exists" |
771 | 5020 | 400 | HomescreenDefaultOperationNotAllowed | Operation is not allowed for the Default Homescreen. Ensure operation is done not for Default Homescreen. | "This operation not allowed with default Homescreen $homescreenId" |
771 | 5021 | 400 | BannerImageValidation | Missing Image resource while creating a Banner. Check that referenced images are available in the service. | "Incomplete Banner. All referenced images IDs must exist." |
771 | 5022 | 400 | BannerServiceValidation | Missing Banner resource while creating a service. Chck that referenced Banners are available in the service. | "Incomplete Banner. Referenced service must exist." |
771 | 5023 | 400 | SectionValidationByBanner | Missing Banner resource while creating a Section. Check referenced Banners in the Section is available. | "Incomplete Section. All referenced banner IDs must exist." |
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 | 5027 | 400 | SectionValidationByImage | Missing Image resource while creating a Section. Check referenced Images in the Section is available. | "Incomplete Section. All referenced image IDs must exist." |
771 | 6001 | 404 | ServiceNotFoundCqrs | Missing Service resource when requested. Check requested Service resource is available in the service's cqrs in memory (i.e. in View). | "Service $serviceId not found" |
771 | 6002 | 404 | SectionNotFoundCqrs | Missing Section resource when requested. Check requested Section resource is available in the service's cqrs in memory (i.e. in View). | "Section $serviceId not found" |
771 | 6003 | 404 | TenantNotFound | Requested Tenant does not exist. Check whether respected tenant exists. | "Tenant $tenant not found" |
771 | 6004 | 404 | BranchExistsAlready | Branch name already exists. Ensure uniqueness of the branch name while saving. | "Branch $branch in tenant $tenant exists already" |
771 | 6005 | 404 | CommandNotFound | Missing command in the database when requested. Ensure respected command is available in the database (check by using its ulid). | "Command $ulid not found" |
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 | 6007 | 404 | HomescreenNotFoundCqrs | Missing Homescreen resource when requested. Check requested Homescreen resource is available in the service's cqrs in memory (i.e. in View). | "Homescreen $homescreenId not found" |
771 | 6008 | 404 | BannerNotFoundCqrs | Missing Banner resource when requested. Check that the installed service version is correct. | "Banner $bannerId not found" |
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" |
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 5001-5012
These error codes related with CQRS pattern
. Try to understand what is exactly failing from the response details and service logs.
If not, contact with smartscreen team.
Error Codes between 6001-6006
These error codes related with in-memory database
(i.e. highly related with CQRS pattern). Try to understand what is
exactly failing from the response details and service logs. If not, contact with smartscreen team.