Error codes
Every error code the API can return, per enumeration, with its number and what it means. Generated from the server's error enumerations.
An API error response carries a numeric code, its name as type, its enumeration as domain (domain_full with the package) and a message. The code is unique within its enumeration; which enumeration applies follows from the call that returned it (a login task uses AuthenticationError, an upload reports parser errors as StepParserErrorCode, and so on). Codes that are no longer raised are not listed; their numbers stay reserved.
BimWorksErrorCode#
The general codes of the BIM.works API: nodes, versions, uploads, tokens, features. Most API calls can return one of these in the error of the response.
| Code | Name | Description |
|---|---|---|
| 14 | PARENT_NODE_NOT_FOUND# | The parent node under which the new node is to be created does not exist. |
| 15 | MISSING_EXPECTED_PARENT_NODE# | A folder in the given path was created by a concurrent request but cannot be found afterwards; retry the request. |
| 19 | NODE_ALREADY_EXISTS# | A node with this name already exists in the parent folder; set allow_existing to get the existing node back instead. |
| 25 | DIFFERENT_FILENAME# | The uploaded file name differs from the name of the model node it is checked in to. |
| 26 | NO_HASH_IN_REQUEST# | A model hash lookup has no usable hash: full_xxh64, or partial_xxh64 with size where required, is missing. |
| 30 | INVALID_HMAC_FOR_QUERY# | The HMAC signature that authorises this query is not valid. |
| 31 | MODEL_IDENTIFIER_VALIDATION_EXCEPTION# | A model identifier cannot be resolved: its type or a required field is missing, or the node, version or its model data does not exist. |
| 40 | INVITE_EXPIRED# | The invite has passed its expiry date and can no longer be accepted; ask for a new invite. |
| 41 | INVITE_ALREADY_ACCEPTED# | The invite has already been accepted, so it cannot be accepted or sent again. |
| 42 | NO_DEMO_NODE# | The account has no Demo folder with the demo model, or this instance has no demo API token. |
| 43 | EXPECTED_EXACTLY_ONE_MODEL# | The request resolves to more than one model, but exactly one version is expected here. |
| 45 | MODEL_NOT_FOUND# | The processed model data behind the version cannot be found: the version has no indexed model, or its stored model files are missing. |
| 46 | INVALID_MODEL_IDENTIFIER# | A model identifier is not a valid version UUID, or is a URL where the operation takes only version and node identifiers. |
| 47 | UNSUPPORTED_QUERY_VERSION# | The JSON query uses a query format version this server does not support. |
| 48 | INVALID_BIM_QUERY# | The query is missing, malformed or cannot be run by this operation; the message says what is wrong. |
| 49 | MODEL_FILE_NOT_FOUND# | The stored file or processed data behind the version cannot be found, for example the original upload or a converted copy. |
| 50 | NODE_VERSION_NOT_FOUND# | No version has the given UUID, or it does not belong to the given node. |
| 51 | CANNOT_UNDELETE_NAME_CONFLICT# | The node cannot be restored because its parent folder already has a node with the same name; rename that node first. |
| 52 | NO_3D_RENDERER# | Rendering is not enabled on this BIM.works instance, or its 3D renderer is unavailable or failed; contact your administrator. |
| 53 | ONLY_WORKS_WITH_ONE_MODEL# | The operation works on a single model, but the request resolves to more than one. |
| 54 | NO_GEOMETRY# | The model's footprint, or the requested slice, is empty, so there is no 2D geometry to return. |
| 55 | NO_GEO_REFERENCE# | The model has no georeference, or none can be extracted from its IFC data, so map coordinates or a CityGML export cannot be produced. |
| 56 | NOT_A_FOLDER_NODE# | The node is not a folder; only a folder can be downloaded as a ZIP archive. |
| 57 | ZERO_MODELS_NOT_ALLOWED# | The request resolves to no processed model, for example a node without versions, but the operation needs one. |
| 59 | CANNOT_EXPORT_BCF_FOR_THIS_CHECK# | The results of this kind of check cannot be exported as BCF. |
| 60 | NO_ACTIVITY_LOGGING_CONFIGURED# | No activity logging is configured on this BIM.works instance, so activity cannot be listed. |
| 61 | INVALID_QID# | A qid object identifier is malformed; it must be a version UUID and an object id joined by a hyphen. |
| 62 | VALIDATION_EXCEPTION# | The check definition, action or option supplied does not parse or fails validation; the message says what is wrong. |
| 63 | INVALID_CHECK_DEFINITION_UUID# | A check definition UUID given to run is not an active check in the given check definition set. |
| 64 | UNSUPPORTED_QUERY_CONSTRUCT# | The query uses a construct this operation cannot evaluate, or a clash detection is too large for the server's memory; narrow the query. |
| 65 | MODEL_CHECK_SET_NOT_FOUND# | No model check set has the given model_check_set_uuid. |
| 66 | UNKNOWN_UPLOAD_ERROR# | The upload failed for a reason BIM.works cannot classify; the message, if any, gives the underlying cause. |
| 67 | MISSING_INPUT# | A required input is missing or empty, or a value is not one the operation can use; the message names it. |
| 68 | NO_BCF# | No BCF could be produced from the check results: they are not in storage, or the BCF could not be written or opened. |
| 69 | INVALID_PATH# | The name or path given for the new node is not a valid path. |
| 70 | UNKNOWN_PURPOSE# | The purpose given to GetGeoReference is not a value it recognises. |
| 71 | UNKNOWN_IFC_ENTITY# | The entity name is not a known IFC entity, or is not defined in the requested schema. |
| 72 | REGISTRATION_NOT_ALLOWED# | This instance does not create an account for this e-mail address, or too many registration requests were made; try again later. |
| 73 | DATA_NOT_FOUND# | The model has no stored data of the requested kind, such as a footprint or object BVH, often because it was checked in without it. |
| 74 | INPUT_FILE_TYPE_NOT_SUPPORTED# | The upload names a file type, by input_file_type or file extension, that BIM.works cannot process or accept. |
| 75 | NO_CRS_FOUND# | No coordinate reference system was found for the model. |
| 76 | NO_DISCIPLINE# | The version has no discipline or discipline classification stored, or no model to classify. |
| 77 | UPLOAD_NOT_FOUND# | No upload exists with the given UUID. |
| 78 | UPLOAD_FILE_NOT_FOUND# | The uploaded file could not be stored for processing, and no more specific cause is known. |
| 79 | UPLOAD_FILE_PART_NOT_FOUND# | A part of the uploaded file could not be found. |
| 80 | GEO_REFERENCE_CONVERSION_ERROR# | A georeference could not be read from the model or transformed to the requested coordinate system; the message says why. |
| 81 | NO_MODELS_PROVIDED# | The request names no models, but this operation needs at least one. |
| 82 | NO_OPENGL# | This instance has no working OpenGL, so it cannot render images. |
| 83 | CHECKIN_ERROR# | Processing the model into a version failed, or an on-demand validation stage could not run; the message gives the cause. |
| 84 | USER_FEATURE_REQUIRED# | The account, or the feature set of the anonymous token, lacks the user feature this task needs; the message names it. |
| 85 | FEATURE_DISABLED# | The function asked for is switched off in this instance's configuration; where it can, the message names the setting. |
| 86 | OPEN_AI_EXCEPTION# | The AI provider behind a speech-to-text or text-to-query request returned an error. |
| 87 | OPEN_AI_IGNORED# | The AI step produced nothing usable: the recording was too short or unreadable, or the language model answered without BIM.works code. |
| 88 | INCORRECT_TYPE# | The stored query or record named by its UUID is of the wrong kind for this task, for example BVL where BQL is expected. |
| 89 | AI_RETURNED_INVALID_ACTION# | The language model gave no valid action after its retries: the code does not parse, or is in another language than asked. |
| 90 | BCL_TO_IDS_EXCEPTION# | The BCL check uses a construct that IDS cannot express, so it cannot be converted to IDS. |
| 91 | CHECK_ERROR# | The check or report could not run: running it failed, or the BRL of a report does not parse; the message says why where known. An IDS definition that does not parse is INVALID_CHECK_DEFINITION, a BCL one SYNTAX_ERROR. |
| 92 | ROOT_NODE_NOT_FOUND# | The root node of the auth token or API token does not exist. |
| 93 | NODE_NOT_FOUND# | No node exists with the given UUID or path. |
| 94 | INVALID_URL# | The url given cannot be parsed as a URL, or (for linked data) uses a scheme this instance does not accept (linked_data.url_schemes). |
| 95 | UPLOAD_URL_NOT_FOUND# | The server behind the upload url reports that there is no file there, for example with HTTP 404. |
| 96 | UPLOAD_URL_CANNOT_RESOLVE_DNS# | The host name in the upload url cannot be resolved, so BIM.works cannot fetch the file. |
| 97 | UPLOAD_URL_NO_ROUTE_TO_HOST# | BIM.works cannot connect to the host in the upload url: it is unreachable or down, or the connection timed out. |
| 98 | UPLOAD_URL_NOT_AUTHORIZED# | The server behind the upload url refuses access to the file with HTTP 401 or 403, for example because a pre-signed URL has expired. |
| 99 | POINT_CLOUD_PROCESSING_NOT_ENABLED# | Point cloud processing is not enabled on this instance. |
| 100 | INVALID_EPSG# | The epsg value does not start with EPSG:; give it in the form EPSG:28992. |
| 101 | INVALID_WKT_STRING# | The wkt coordinate reference system cannot be parsed as WKT. |
| 102 | INPUT_FILE_TYPE_NOT_ENABLED# | Processing of this file type, such as DWG, PDF or a point cloud format, is not enabled on this instance. |
| 103 | IDS_TO_BCL_CONVERSION_ERROR# | The IDS cannot be converted to BCL; the message names what could not be converted. |
| 104 | CANNOT_MOVE_NODE_TO_SELF# | A node cannot be moved into itself; choose a different target folder. |
| 105 | CANNOT_MOVE_NODE_TO_NON_FOLDER# | The move target is not a folder; nodes can only be moved into folder nodes. |
| 106 | INVALID_CRS# | The crs setting of the CityGML export is not AUTO, NONE or an EPSG: code with a numeric value. |
| 107 | TRANSACTION_ERROR# | The transaction could not be applied or committed, for example because it is not valid for the model; the message says why. |
| 108 | TRANSACTION_CONFLICT# | The version the transaction starts from is no longer the latest version of its node; retry against the latest version. |
| 109 | TRANSACTION_NOT_FOUND# | No transaction exists with the given UUID, or the version was not created by a transaction. |
| 110 | CAN_ONLY_DELETE_LAST_VERSION# | Only the latest version of a node can be deleted; delete the later versions first. |
| 111 | INVALID_INPUT_FILE# | The uploaded file is not a usable file of its declared type, for example empty, truncated or corrupt, or format_settings is not a JSON object. |
| 112 | NO_CONVERTIBLE_CONTENT# | The file was read but yields nothing that can be displayed; the message says whether its content is unsupported, skipped or empty. |
| 113 | WALKABLE_SURFACES_NOT_AVAILABLE# | Walkable surfaces are disabled on this instance, or a model in the set has none; the message says which. |
| 114 | DATA_FILE_TOO_LARGE# | The data file is larger than this instance accepts (data_files.max_file_bytes). |
| 115 | UNKNOWN_MODEL_CHECK# | The type names no check that can run from raw input, such as IdsCheck or Check3, or a BCL class names no registered check; the message lists the accepted names. |
| 116 | SPACE_INDEX_NOT_AVAILABLE# | A model's space index exists but could not be read; models without a space index are skipped, not refused. |
| 117 | FEATURE_NOT_VISIBLE# | A workspace visibility rule hides a feature the request filters or computes on, or rules out the whole-model export asked for. |
| 118 | INVALID_FEATURE_SELECTOR# | An entry in feature_visibility is not a single plain feature path as a BQL GET would read it. |
| 119 | SCHEMA_CONVERSION_NOT_SUPPORTED# | The requested IFC schema conversion does not exist for this model; the message lists the conversions that do. |
| 120 | SCHEMA_CONVERSION_FAILED# | The IFC schema conversion aborted, or its converted file could not be validated or served; the message says why. |
| 121 | REPLICATION_FAILED# | A file that must be stored on every server of the cluster could not reach one of them, so nothing was kept; retry later. |
| 122 | DESIGN_TREE_NOT_AVAILABLE# | This instance runs the Java IFC engine, which writes no design trees, so there is none to download. |
| 123 | UPLOAD_URL_REFUSED# | The upload url points to a private, loopback, link-local or reserved address, which BIM.works does not fetch from unless the instance lists the host in egress.allowed_private_hosts. |
| 124 | RESULT_TOO_LARGE# | The check found more object results than one response returns (checks.ids.legacy_max_object_results for RunIdsCheck); the error payload has the counts per specification, as RunCheckSummary with specifications: true gives them. |
| 125 | ARTIFACT_PENDING# | What was asked for belongs to a part of the version that its checkin is still producing, after the version was published (for example the walkable surfaces); retry shortly. |
| 126 | FILE_TYPE_NOT_ALLOWED# | The file's extension is not on this instance's list of linked-data file types (linked_data.extensions), or it is a type that is never accepted: programs, scripts, HTML and macro-enabled Office files. |
| 127 | FILE_CONTENT_NOT_ALLOWED# | The file's content is a program, or a shortcut to one, whatever its extension says. |
| 128 | FILE_CONTENT_MISMATCH# | The file's content is not what its extension says, for example a ZIP archive named .pdf; the message names both types. |
| 129 | MACROS_NOT_ALLOWED# | The Office document carries macros; save it without macros (as .docx, .xlsx or .pptx) and link that. |
| 130 | ARCHIVE_CONTENT_NOT_ALLOWED# | The ZIP archive holds a file type that is not accepted, another archive or encrypted entries, or unpacks to far more than its size; the message names the first entry at fault. |
| 131 | EMPTY_FILE# | The file has no bytes. |
| 132 | FILE_TOO_LARGE# | The file is larger than this instance accepts for linked data (linked_data.max_file_bytes, 100 MB by default). |
| 133 | TOO_MANY_FILES# | The request carries more files than one request may (linked_data.max_files_per_request). |
| 134 | TOO_MANY_TARGETS# | The request links to more objects than one request may (linked_data.max_targets_per_request). |
| 135 | INVALID_IDENTIFIER# | The identifier is empty, longer than 1 KiB, or holds control characters. |
| 136 | LINK_TARGET_NOT_FOUND# | An object to link to is not in the version: no object with that oid, qid or GlobalId. |
| 137 | AMBIGUOUS_GLOBAL_ID# | The GlobalId to link to occurs on several objects of the version; link by oid instead, the details list the candidates. |
| 138 | LINKED_DATA_NOT_FOUND# | There is no linked data item or link with that uuid that the caller may see. |
| 139 | LINKED_DATA_DELETED# | The linked data item was deleted; someone with write rights on its model can restore it within the retention period. |
| 140 | RETENTION_PASSED# | The linked data item was deleted longer ago than the retention period and its content is purged, so it can no longer be restored or downloaded. |
| 141 | INVALID_CHECK_DEFINITION# | The IDS document given to run does not parse, or is not valid against the IDS schema; the message carries the parser's error. |
| 142 | DEFAULT_WORKSPACE_IS_PRIVATE# | An account's personal workspace cannot be shared or published; create another workspace to work with others. |
| 143 | ACCOUNT_OWNS_SHARED_WORKSPACES# | The account owns a workspace that is shared or published, so it cannot be deleted; the message lists those workspaces. Transfer their ownership or make them private first. |
| 144 | BILLING_CYCLE# | The billing link is not allowed: it would make the chain of billing accounts circular or longer than 8, or links an account to another account or an organization to an account. |
| 145 | INVITATION_NOT_OPEN# | The workspace invitation was already accepted, declined, cancelled or has expired. |
| 146 | LAST_OWNER# | The owner of a workspace cannot leave it or be removed from it; transfer the ownership to another member first. |
| 147 | INVITATION_LINK_INVALID# | The link of a workspace invitation is not known: it was cut or mistyped, or the invitation was sent again since, which replaces the link. |
| 148 | INVITATION_FOR_OTHER_ACCOUNT# | The workspace invitation is for another account than the one signed in; sign out first to accept it. |
| 149 | SIGN_IN_REQUIRED# | The invitation is for an existing account, which its link never signs in: sign in first, then accept it. |
| 150 | HOUSE_CHECK_REQUIRED# | Registering on this instance needs the pass of a BIM check (counting the windows of a house), and none came along, or it was used or expired; do the check again. |
| 151 | ALREADY_IN_ORGANIZATION# | The account already belongs to an organization; leave it first to join another. |
| 152 | ORGANIZATION_JOIN_NOT_OPEN# | The invitation to or request for the organization was already accepted, declined or cancelled, or has expired. |
| 153 | ORGANIZATION_DOMAIN_MISMATCH# | The domain of the account's e-mail address is not the organization's domain, so the account cannot ask to join it; ask an administrator of the organization for an invitation. |
| 154 | LAST_ORGANIZATION_ADMIN# | The organization's last administrator cannot leave it or give up the role; make another member administrator first. |
| 155 | ORGANIZATION_CREATOR# | The account that created the organization stays its administrator: its role cannot be changed and it cannot leave the organization. |
| 156 | ORGANIZATION_JOIN_FOR_OTHER_ACCOUNT# | The invitation to the organization is for another account than the one signed in; sign out first to accept it. |
| 160 | BILLING_DISABLED# | Billing is not turned on on this instance; an on-premise installation never bills. |
| 161 | BILLING_NO_PROFILE# | The account or organization has no billing details yet; fill them in under Billing first. |
| 162 | BILLING_TERMS_REQUIRED# | The terms, or the data processing agreement, of the current version are not accepted yet; accept them when saving the billing details. |
| 163 | BILLING_STATE# | The invoice or billing details are not in a state that allows this, such as voiding an invoice that was already issued or crediting a draft. |
| 164 | BILLING_PROVIDER_ERROR# | The invoicing or payment provider, or the VAT number check, did not do what was asked; try again in a minute. |
| 165 | BILLING_NOT_CONFIGURED# | This instance has no provider for this, such as no payment provider for paying an invoice online; pay by bank transfer instead. |
| 166 | BILLING_PAID_BY_ORGANIZATION# | The account belongs to an organization, which pays for its use; the organization's administrators and billing managers keep the billing details. |
| 157 | NOT_IN_ORGANIZATION# | The account does not belong to the organization, or to any organization. |
BimWorksQueryError#
Errors of the query engine: a query that does not parse, a feature the instance has not enabled, a parameter without a value.
| Code | Name | Description |
|---|---|---|
| 0 | UNKNOWN# | The query or comparison failed for a reason without a more specific code; the message gives the cause. |
| 1 | INCOMPATIBLE_UNIT_TYPES# | A unit does not match the dimension of the value, such as an area converted to mm, or a length unit is expected. |
| 2 | SYNTAX_ERROR# | The query or script text does not parse, or an argument in it is invalid; the message says where and why. |
| 3 | NOT_IMPLEMENTED# | The query uses a construct or combination of operands the engine does not support, such as IN without literal values. |
| 4 | UNEXPECTED_QUERY_ERROR# | The query engine failed while evaluating part of the query, such as a geometry, navigation or clash function. |
| 5 | FEATURE_NOT_ENABLED# | The query needs a capability, such as clash detection, text search or walkable surfaces, that this instance or model does not have. |
| 6 | UNKNOWN_TYPE# | The query names an IFC class that does not exist; class names are upper case, such as IFCWALL. |
| 7 | ORDER_BY_ORIGINAL_ORDER_NOT_SUPPORTED# | The original model order (ORDER BY ORIGINAL) is not available here, for instance inside a nested relation query. |
| 8 | TOO_MANY_OBJECTS# | One side of a model comparison has more objects in scope than the limit allows; narrow it with WHERE. |
| 9 | MISSING_QUERY# | The request has no query, or an empty one; a comparison also raises it for an unknown built-in definition. |
| 10 | GROUP_PATH_INVALID# | The groupPath, groupKeys or groupLevel is malformed or does not address a group of the query's GROUP BY result. |
| 11 | MISSING_PARAMETER# | A $parameter in the query has no value in the request's parameters object. |
| 12 | PARAMETER_TYPE_MISMATCH# | A parameter value does not fit its position, such as a string for a number, or parameters is not an object. |
| 13 | INVALID_FUNCTION_CALL# | A value function such as ROUND is called with the wrong number or kind of arguments, or LOOKUP cannot read its table. |
| 14 | MODEL_NOT_AVAILABLE# | The data of a model the query reads is not available on this server; the query itself is valid. |
| 15 | QUERY_TOO_EXPENSIVE# | Clash detection or clearance would go past a limit of this instance, such as the number of candidate pairs or the time; the message names the limit. Narrow the query with WHERE. |
| 16 | QUERY_BUSY# | Every clash detection slot of this instance is in use; try again in a moment. |
| 17 | DUPLICATE_COLUMN# | Two different GET items would be written under the same key of a record; the message names both. Leave one out or write it differently; an alias does not change a key. |
AuthenticationError#
Errors of logging in and of the tokens: an invalid or deleted API token, an expired auth token, a bad signature.
| Code | Name | Description |
|---|---|---|
| 0 | INVALID_API_TOKEN# | The API token's secret is unknown, or too many failed logins came from this address. |
| 1 | API_TOKEN_DELETED# | The API token used to log in has been deleted. |
| 2 | INVALID_LOGIN# | The login is refused for an unknown user, a wrong password, an invalid login link or 2FA step, or too many attempts. |
| 3 | EMAIL_ADDRESS_NOT_VALIDATED# | The account's e-mail address has not been validated yet, which this instance requires before logging in. |
| 4 | INVALID_INVITE_CODE# | The invite code or invite is unknown, or the invite belongs to another organisation. |
| 5 | ACCOUNT_DELETED# | The account behind these credentials has been deleted, so it can no longer log in. |
| 6 | TOKEN_EXPIRED# | The auth token has passed its expiry; log in again or obtain a fresh token. |
| 7 | INVALID_HMAC# | The auth token's hmac signature does not match its contents, so the token is rejected as altered or forged. |
| 8 | ONLY_API_TOKEN_ALLOWED# | The operation accepts only an API token as credential. |
| 9 | NO_INPUT_IN_AUTH# | The auth token has no input object; send the token exactly as the login returned it. |
| 10 | NO_TYPE_IN_INPUT# | The auth token's input has no type, so the kind of credential cannot be determined. |
| 11 | NO_AUTH# | The auth token does not resolve to a kind of credential this server supports. |
| 12 | EMAIL_ADDRESS_ALREADY_REGISTERED# | A user with this e-mail address is already registered. |
| 13 | INVALID_OAUTH# | The OAuth authorisation code or refresh token is wrong or no longer valid. |
| 14 | UNSUPPORTED_GRANT_TYPE# | The OAuth grant_type is not supported; use authorization_code or refresh_token. |
| 15 | OAUTH_WRONG_SECRET# | The OAuth client secret in the Basic Authorization header is wrong. |
| 16 | NOT_BASIC_AUTH# | The OAuth token request's Authorization header does not use the Basic scheme with the client id and secret. |
| 17 | NO_AUTHORIZATION_HEADER# | The request has no Authorization header, which this endpoint requires (a bearer auth token, or Basic client credentials for OAuth). |
| 18 | OAUTH_DISABLED# | OAuth is not enabled on this BIM.works instance. |
| 19 | OAUTH_DYNAMIC_REGISTRATION_DISABLED# | Dynamic registration of OAuth clients is not enabled on this BIM.works instance. |
| 20 | INVALID_HMAC_HASH# | The auth token's hmh names a signing key this server does not know. |
| 21 | NO_HMAC# | The auth token has no hmac signature, so it cannot be verified. |
| 22 | NO_HMAC_HASH# | The auth token has no hmh field naming the key that signed it. |
| 23 | INVALID_ANONYMOUS_TOKEN# | The anonymous token is unknown or lacks the at- prefix, or too many failed logins came from this address. |
| 24 | ANONYMOUS_TOKEN_DELETED# | The anonymous token used to log in has been deleted. |
| 25 | ANONYMOUS_TOKENS_DISABLED# | Anonymous tokens are not enabled on this instance (features.anonymous_tokens), so they can be neither created nor used to log in. |
| 26 | HMAC_KEY_EXPIRED# | The auth token's signature is valid, but the key that signed it has been retired; log in again. |
| 27 | API_TOKEN_EXPIRED# | The API token has passed its expires_on date; extend its expiry or create a new token. |
AuthorizationError#
Errors of a call that is authenticated but not allowed: no read or write right on the node, a token without the operation's scope or locked to another IP address.
| Code | Name | Description |
|---|---|---|
| 0 | NO_WRITE_RIGHTS# | The credential has no write rights on the target node, so it cannot create, change, upload or delete there. |
| 1 | NO_READ_RIGHTS# | The credential may not read this node, version or check set, for instance a version that is not in a versions token. |
| 2 | NO_AUTHORIZATION# | The operation requires authentication, or rights such as super admin that the credential does not have. |
| 3 | NON_AUTHORIZED_TASK# | The task is not in the auth token's tasks allow-list, or the credential may not call it. |
| 4 | NON_AUTHORIZED_IP_ADDRESS# | The request comes from an IP address that the auth token's ip_addresses list does not allow. |
| 5 | INVALID_AUTHORIZATION# | The credential cannot be used here; its account has been removed, the bearer token is malformed, or the operation needs an account login. |
| 6 | CANNOT_DELETE_USER_FOLDER# | The root node of an account cannot be deleted with that account's own login. |
| 7 | CANNOT_DELETE_API_TOKEN_FOLDER# | The root node of an API token cannot be deleted with that token. |
| 8 | ACCOUNT_NOT_FOUND# | The account behind the auth token no longer exists on this server, so the token is no longer valid. |
| 9 | NON_AUTHORIZED_SCOPE# | The token lacks the scope the operation requires, requested scopes exceed the issuer's, or the account is not entitled to a gated scope. |
| 10 | UNKNOWN_SCOPE# | The scopes field is not an array of known scope names. |
| 11 | CREDENTIAL_CREATION_NOT_ALLOWED# | Only an account login or an API token can create tokens; delegated, anonymous and workspace credentials cannot. |
| 12 | SESSION_SIGNED_OUT# | The session was signed out by a password change or by signing out everywhere; log in again. |
| 13 | INVALID_TASK_NAME# | The token request's tasks list names a task this server does not have; the message lists each one with the likely intended name. Correct the list, or give scopes instead. |
| 14 | DEMO_FOLDER_READ_ONLY# | The node is a Demo folder or part of the demo models in it, which cannot be uploaded to, added to, deleted, moved or renamed, or a folder that holds demo models. Use another folder, or Demo/Uploads for a file of your own. |
StepParserErrorCode#
Errors while parsing an IFC file (STEP physical file or ifcXML). They carry a line and position where the parser gave up; most integrations log them rather than show them to a user. INVALID_REFERENCE (a reference to an entity that is not in the file) and UNKNOWN_ENTITY_TYPE (an entity name outside the supported schemas) are the common ones.
| Code | Name | Description |
|---|---|---|
| 0 | UNEXPECTED_CHARACTER# | A record contains a character not allowed at that point, such as a lowercase letter in an .ENUM. value or a , in an entity name. |
| 2 | NO_SEMICOLON_FOUND_IN_RECORD# | A record's attribute list is closed with ) but not followed by the ; that ends the record. |
| 3 | NO_LEFT_PARENTHESIS_FOUND_IN_RECORD# | An entity or typed value name inside a record, such as IFCLABEL, is not followed by its opening (. |
| 4 | NO_RIGHT_PARENTHESIS_FOUND_IN_RECORD# | A record reaches ; while its attribute list or a nested list is still open, so a ) is missing or the file is truncated. |
| 6 | STRING_ENCODING_X2_NOT_CLOSED_WITH_X0# | A \X2\ string escape is not closed with \X0\. |
| 7 | STRING_ENCODING_NUMBER_OF_HEX_CHARS_IN_X2_NOT_DIVISIBLE_BY_4# | The hex digits between \X2\ and \X0\ in a string are not a multiple of four, as each UTF-16 code unit takes four. |
| 8 | STRING_ENCODING_CHARACTER_DECODING_EXCEPTION# | A \X2\ or \X4\ string escape contains characters that are not valid hexadecimal digits. |
| 9 | STRING_ENCODING_X4_NOT_CLOSED_WITH_X0# | A \X4\ string escape is not closed with \X0\. |
| 10 | STRING_ENCODING_NUMBER_OF_HEX_CHARS_IN_X4_NOT_DIVISIBLE_BY_8# | The hex digits between \X4\ and \X0\ in a string are not a multiple of eight, as each UTF-32 character takes eight. |
| 11 | STRING_ENCODING_UTF32_NOT_SUPPORTED_ON_SYSTEM# | The server cannot decode UTF-32, which a \X4\ string escape needs; this is a server problem, not a fault in the IFC file. |
| 12 | EXPECTED_STRING# | A section keyword is missing or out of place; the parser expects HEADER;, three header entities, ENDSEC; and then DATA;. |
| 13 | INVALID_DATETIME_LITERAL# | The time stamp in the header's FILE_NAME is not a date BIM.works can read; use the ISO form 2024-05-01T12:00:00. |
| 16 | INTERNAL_ERROR# | The parser stopped on an unexpected internal condition while reading the IFC file; report it to BIM.works together with the file. |
| 17 | EXPECTED_LIST# | The description attribute of the header's FILE_DESCRIPTION is not a list of strings, a single string or $. |
| 18 | INSUFFICIENT_BUFFER_SIZE# | A single value, comment or unbroken stretch of the IFC file is larger than the parser's 1 MiB read buffer. |
| 19 | END_OF_FILE# | The file ends before its header is complete, for example because it is empty, truncated, has no ; at all, or has fewer than three header entities. |
| 20 | INVALID_REFERENCE# | A reference #n points at an entity that is not in the file, or a # is not followed by a usable entity number. |
| 21 | INVALID_DOUBLE_LITERAL# | A number with a decimal point in a record is not a valid real value, for example 1.2.3. |
| 23 | UNKNOWN_ENTITY_TYPE# | A record uses an entity or type name that BIM.works does not recognise in any IFC schema. |
| 24 | CANNOT_READ_AHEAD# | The parser could not look one character ahead at an internal buffer boundary while checking for a /* or */ comment marker; this is a parser limitation. |
| 25 | INVALID_LONG_LITERAL# | A number without a decimal point in a record is not a valid integer value. |
| 26 | INVALID_EXPRESS_ID# | A record's entity number is not a positive integer, as in #0=IFCWALL(...). |
| 27 | EQUALS_EXPECTED# | A record's entity number, such as #12, is not followed by =. |
| 28 | UNKNOWN_SCHEMA# | The FILE_SCHEMA in the header is not a recognised IFC release identifier, for example a draft release candidate such as IFC4X3_RC1. |
| 29 | EMPTY_ENTITY# | A record without an entity number, typically a header entity such as FILE_NAME, has an empty attribute list, as in FILE_NAME();. |
| 30 | UNEXPECTED_ZIP_FILE# | The file is a ZIP archive rather than STEP text; upload a compressed IFC model with the .ifczip extension. |
| 31 | NO_IFC# | The file does not start with ISO-10303-21;, so BIM.works does not recognise it as an IFC file. |
| 32 | UNSUPPORTED_SCHEMA# | The IFC file declares a known IFC release that BIM.works does not process, such as IFC2X2_FINAL or IFC4X3_ADD1; re-export as IFC2X3, IFC4 or IFC4X3. |
| 33 | CORRUPT_FILE# | The IFC file is damaged; a record contains a control character such as a NUL byte, or the file ends in the middle of a record. |
| 40 | COMPLEX_INSTANCE# | A record is a complex entity instance that combines several entity types, as in #7=(IFCA(...)IFCB(...));, which BIM.works does not support. |
| 34 | XML_MALFORMED# | The ifcXML file is not well-formed XML, is empty, ends inside an element, or contains a DOCTYPE, which is not allowed. |
| 35 | XML_NO_SCHEMA# | No IFC schema is recognised in the ifcXML file's namespaces or uos configuration, so BIM.works cannot tell which schema it uses. |
| 36 | XML_UNKNOWN_ENTITY# | An element in the ifcXML file names an entity or type that BIM.works does not know or that the file's IFC schema does not declare. |
| 37 | XML_UNKNOWN_ATTRIBUTE# | Reserved for an ifcXML attribute the entity does not declare; BIM.works currently skips such attributes and reports them instead of failing. |
| 38 | XML_INVALID_VALUE# | A value in the ifcXML file does not fit its attribute's type, such as text where an entity is expected or an invalid number or boolean. |
| 39 | XML_UNEXPECTED_ELEMENT# | An element is not allowed where it appears, for example a root other than <ifcXML>, several values in a single-value attribute, or an inline entity without xsi:type. |
DefaultErrorCode#
Errors of the underlying task framework: unknown task, missing argument, invalid authentication, timeouts.
| Code | Name | Description |
|---|---|---|
| 1 | NO_METHOD# | The request does not name a task. |
| 2 | TASK_NAME_AMBIGOUS# | The task name matches more than one task on the server. |
| 3 | TASK_NOT_FOUND# | No task of that name exists on the server, or no running task has the given id. |
| 4 | UNIMPLEMENTED_ERROR# | The requested function or option is not implemented, or not available on this instance; the message says which. |
| 5 | REPOSITORY_NOT_FOUND# | The repository named in the task identifier does not exist on the server. |
| 6 | BRANCH_NOT_FOUND# | The branch named in the task identifier does not exist on the server. |
| 7 | UNKNOWN_ERROR# | Something unexpected went wrong on the server; the message, when there is one, gives the details. |
| 8 | INTERRUPTED# | The task was stopped before it finished: it ran past its timeout, was cancelled, or a newer call of the same task in the session replaced it. |
| 9 | PROJECT_NOT_FOUND# | The project named in the task identifier does not exist on the server. |
| 10 | INVALID_LOGIN# | The login credentials are not valid. |
| 11 | MISSING_ARGUMENT# | A required argument of the task is missing; the message names it. |
| 12 | INVALID_AUTHENTICATION# | The presented token is not accepted: it does not exist, was deleted, is too old, or is used from an IP address or origin it does not allow. |
| 13 | REQUEST_TIMED_OUT# | No answer came in time: the reverse proxy stopped waiting for the server, or an awaited job or stream timed out. The request may still complete; check before retrying. |
| 14 | ZOOKEEPER_CONNECTION_LOSS# | The server lost its connection to the coordination service of the fleet. |
| 15 | INVALID_FIELD_VALUE# | A field of the request has a value the task does not accept, such as an unknown option or a wrong type; the message names it. |
| 16 | NO_STREAM# | The task needs an attached file but has none: no stream was attached, the stream id is unknown, or nothing arrived in time. |
| 17 | ERROR_STARTING_SERVER# | BIM.works failed to start on the server, so the instance answers every task with this error. |
| 18 | APP_NOT_FOUND# | The application the request is meant for is not found on the server. |
| 19 | NO_ENDPOINT# | A request to stop listening to a task (UnregisterTaskListener) gives no endPointId. |
| 20 | PROBLEM_INITIATING_SSL_CERT# | The server could not set up an SSL certificate. |
| 21 | WRONG_HTTP_STATUS_CODE# | A URL the server fetched from answered with an unexpected HTTP status code. |
| 22 | INVALID_HOSTNAME# | The host name given is not valid. |
| 23 | NO_RIGHTS# | The caller is not allowed to do this, for example on another organisation, workspace or conversation. |
| 24 | NO_WRITE_RIGHTS# | The caller has no write rights on the folder or object it tries to change. |
| 25 | NO_READ_RIGHTS# | The caller has no read rights on the folder, model or object it asks for, or on the stored action it names by UUID. |
| 26 | OBJECT_NOT_FOUND# | An object the request refers to (a version, query, workspace, compare result, data file and so on) does not exist. |
| 27 | SUBSYSTEM_FAILED# | A server component the task relies on failed, such as a background job, IFC serialisation or the lock on a busy folder or model; the message says which. |
| 28 | DATABASE_ERROR# | Reading from or writing to the server's database failed while handling the request. When the server is out of disk space or cannot reach its database, userSafeMessage says so; try again once that is resolved. |
| 29 | FILE_ALREADY_EXISTS# | The target folder already contains a node of that name, for example when creating, moving or uploading a model. |
| 30 | USER_NOT_FOUND# | The user that the login token names, or that user's account, does not exist. |
| 31 | INVALID_FILENAME# | The file or model name is empty, longer than 255 characters, or contains a slash or backslash. |
| 32 | STREAM_NOT_FOUND# | No stream with the given id exists on the server. |
| 33 | SERVER_NOT_FOUND# | The server named in the request cannot be found. |
| 34 | NO_DATA# | The data the task needs is not available, such as API latency data on a server node where latency tracking is off. |
| 35 | CANNOT_REMOVE_OWNER# | The owner cannot be removed. |
| 36 | ENDPOINT_REQUIRED_FOR_AUTO_REGISTER# | The request asks for its responses to be pushed (autoRegisterResponseTypes) but gives no endPointId to push them to. |
| 37 | ERROR_DELETING_FILE_NODE# | A file node in the folder tree could not be deleted. |
| 38 | NO_SSL_CERTIFICATE# | No SSL certificate is available on the server. |
| 39 | NO_ROUTE_TO_NODE# | The server has no connection to the fleet node the request is routed to. |
| 40 | NO_NODE_PROVIDES_TASK# | No server node of the fleet provides the requested task. |
| 41 | NO_TRANSPORT_TO_NODE# | No connection to the server, or to the fleet node that runs the task, could be used or opened, for example a refused connection or a bad certificate. |
| 42 | BUILDS_NOT_FOUND# | The instance has no list of embedded builds to offer. |
| 43 | BUILD_NOT_FOUND# | No embedded build matches the requested groupId, artifactId, version, extension and classifier. |
| 44 | INVALID_JSON# | The content of the auth token cannot be processed as JSON while its signature is checked. |
| 45 | STREAM_CLOSED# | The upload stream ended before the file was complete: the upload was interrupted, or no data arrived for 10 minutes. |
| 46 | DEPRECATED# | The task is deprecated and no longer does its work; the message names its replacement. |
| 47 | NOT_UNIQUE# | A model check definition with that name already exists in the definition set. |
| 48 | EMAIL_ERROR# | The server could not send an e-mail it needed to send (an invite, sign-in code or password reset), or has no e-mail set up. |
| 49 | DATABASE_OFFLINE# | The server's database is offline, so the change cannot be stored; retry later. |
| 50 | FILESIZE_CANNOT_BE_ZERO# | The upload declares a file size of 0; an empty file cannot be uploaded. |
| 51 | INVALID_ARGUMENT# | An argument is not valid: malformed, out of range, or not allowed in this combination or context; the message names it. |
| 52 | INVALID_NUMBER_OF_STREAMS# | The task expects exactly one attached file stream, and the request has none or several. |
| 53 | INVALID_URI# | The server address given to the client is not a valid URI. |
| 54 | IO_EXCEPTION# | Reading or writing a file or stream failed, on the server or in the client SDK. |
| 55 | CLIENT_CLOSED# | A call went through a client (SDK) connection that has already been closed. |
| 56 | TRANSPORT_ERROR# | The client SDK failed to set up its connection to the server. |
| 57 | TASK_REJECTED# | The server declined to start the task: its limit of concurrent runs is reached, or it runs once per fleet and is already running. Retry later. |
| 58 | VERSION_CONFLICT# | The object was changed since the caller read it (the base_version sent is no longer current); reload it and apply the change again. |
| 59 | SERVICE_UNAVAILABLE# | The server cannot be reached: it is stopped, restarting, crashed or failed to start. Retry after the Retry-After interval. |
| 60 | MAINTENANCE# | The instance is down for scheduled maintenance; retry after a longer wait, as given by Retry-After. |
| 61 | TOO_MANY_REQUESTS# | Too many requests from this client in a short time (a rate limit of the reverse proxy); retry after the Retry-After interval. |
| 62 | PAYLOAD_TOO_LARGE# | The request body is larger than the instance accepts; the standard limit is 1 GB. |
| 63 | NODE_GONE# | The request names an endpoint or stream of a fleet node that is no longer there; reconnect, as the session lived on that node. |
| 64 | TASK_LOST_NODE_CHANGED# | The client's connection moved to another fleet node, or the server restarted, while the task awaited its answer; the task is lost. |
| 65 | GPU_UNAVAILABLE# | The task needs a GPU, and neither this server nor another node of its fleet with a usable GPU can run it now; retry after retry_after_seconds. |