Skip to main content

Error types

Block Model API errors

All errors have a type prefix of block-model-service/.

Status & typeDescriptionMay be returned by
400 invalid-model-typeThe requested model type is not supported.Create a block model
400 invalid-query-parametersOne or more query parameters were invalid or missing. Note that for errors in pagination query parameters, a block-model-service/validation error will be thrown instead.Restore a block model
400 too-many-columnsThe request would result in the block model having more than 300 user columns.Start a block model data update
401 auth/unauthorisedUser does not have valid authentication credentials. Please see Apps & tokens for more details.All endpoints
403 auth/forbiddenUser does not have the correct workspace role or token scope.All endpoints
404 not-foundThe target resource (e.g. block model ID, version ID, job ID) does not exist.All endpoints that reference a resource ID
404 unsupported-sort-fieldA sort was requested using an unsupported field.Block model listing endpoints
404 workspace-not-foundThe workspace does not exist or user does not have permission to access the workspace.All endpoints that reference a workspace_id
409 version-conflictThe request conflicts with the current state of the target resource, e.g. creating a version with a parent that already has a child version.All endpoints that create a new version
409 name-conflictThe request specifies a name that is already in use.Create a block model, Update a block model's metadata, Create a Report Specification, Update a Report Specification
409 file-conflictA file has already been uploaded for the update.Advise that the update file has finished uploading
409 geoscience-object-path-conflictAn object already exists in this workspace for the requested path and nameCreate a block model
410 goneThe block model has been deleted.All endpoints that query or update a block model by referencing a bm_id
410 workspace-goneThe workspace has been deleted.All endpoints that reference a workspace
422 unprocessable-entityValidation error in update or query request content.Block model data update and query endpoints
422 validationValidation error in request content or query parameters.All endpoints
422 invalid-unit-idA unit ID was specified that was not recognised.All endpoints where the request references unit IDs
422 missing-size-unitThe block model that a report was requested for does not have a configured size unitCreate a Report Specification, Update a Report Specification, Run a Reporting Job
422 wrong-unit-typeThe requested unit has a type that is inappropriate for this use.Create a block model, Update a block model's metadata, Create a Report Specification, Update a Report Specification
422 column-not-foundThe requested col_id does not match that of any column in the relevant block model version.Create a Report Specification, Update a Report Specification
422 wrong-column-data-typeThe requested col_id matches a column which is of the wrong data type for this use.Create a Report Specification, Update a Report Specification
422 wrong-column-unit-typeThe requested col_id matches a column which is of the wrong unit type for this use.Create a Report Specification, Update a Report Specification
422 invalid-report-comparisonThe requested Report Comparison is invalidRun a Report Comparison Job, Get a comparison between two Report Results
500 restore-errorThe maximum sequence number for automatic renaming was reached during conflict resolution for restore block model.Restore a block model
500 serviceAn internal server error occurred — the server encountered an unexpected condition that prevented it from fulfilling the request.All endpoints

© Seequent, The Bentley Subsurface Company