Skip to main content

Errors

ActivePivotClientNotFoundError#

Thrown when an ActivePivotClient identified by a serverKey is not provided via ClientsProvider.

try {  } catch(error: Error) {  if(error instanceof ActivePivotClientNotFoundError) {    // handle ActivePivotClientNotFoundError  }}

ClientsNotFoundError#

Thrown when no clients are found. They must be provided via ClientsProvider.

try {  } catch(error: Error) {  if(error instanceof ClientsNotFoundError) {    // handle ClientsNotFoundError  }}

ConfigurationNotFoundError#

Thrown when no Configuration is found. It must be provided using ConfigurationProvider.

try {  } catch(error: Error) {  if(error instanceof ConfigurationNotFoundError) {    // handle ConfigurationNotFoundError  }}

ContentClientNotFoundError#

Thrown when no ContentClient is found. It must be provided via ClientsProvider.

try {  } catch(error: Error) {  if(error instanceof ContentClientNotFoundError) {    // handle ContentClientNotFoundError  }}

CubelessQueryError#

Thrown when an MdxSelect, an MdxSubSelect or an MdxDrillthrough does not specify the name of its target Cube.

try {  } catch(error: Error) {  if(error instanceof CubelessQueryError) {    // handle CubelessQueryError  }}

CubeNotFoundError#

Thrown when a Cube cannot be found. This can happen in particular when loading a saved widget after updating a cube's name on the server side.

try {  } catch(error: Error) {  if(error instanceof CubeNotFoundError) {    // handle CubeNotFoundError  }}

DataModelNotFoundError#

Thrown when a DataModel identified by a serverKey is not found in the ClientsContext.

try {  } catch(error: Error) {  if(error instanceof DataModelNotFoundError) {    // handle DataModelNotFoundError  }}

DimensionNotFoundError#

Thrown when a Dimension cannot be found in a Cube. This can happen in particular when loading a saved widget after updating a cube on the server side.

try {  } catch(error: Error) {  if(error instanceof DimensionNotFoundError) {    // handle DimensionNotFoundError  }}

EmptyDataModelError#

Thrown when a DataModel does not contain any cube. This can happen in particular when a user is not granted access to any cube.

try {  } catch(error: Error) {  if(error instanceof EmptyDataModelError) {    // handle EmptyDataModelError  }}

ExpiredLicenseError#

Thrown when the license of a target ActivePivot server has expired.

try {  } catch(error: Error) {  if(error instanceof ExpiredLicenseError) {    // handle ExpiredLicenseError  }}

ForbiddenError#

Thrown when an HTTP status of 403 is received.

try {  } catch(error: Error) {  if(error instanceof ForbiddenError) {    // handle ForbiddenError  }}

HierarchyNotFoundError#

Thrown when a Hierarchy cannot be found in a Dimension. This can happen in particular when loading a saved widget after updating a cube on the server side.

try {  } catch(error: Error) {  if(error instanceof HierarchyNotFoundError) {    // handle HierarchyNotFoundError  }}

InternalServerError#

Thrown when an HTTP status of 500 is received.

try {  } catch(error: Error) {  if(error instanceof InternalServerError) {    // handle InternalServerError  }}

InvalidDraggedWidgetError#

Thrown when a DraggedWidget was dropped into a dashboard but did not have an initial state attached to it.

try {  } catch(error: Error) {  if(error instanceof InvalidDraggedWidgetError) {    // handle InvalidDraggedWidgetError  }}

InvalidMdxFilterError#

Thrown when an Mdx is expected to represent a Filter but cannot be interpreted as such.

try {  } catch(error: Error) {  if(error instanceof InvalidMdxFilterError) {    // handle InvalidMdxFilterError  }}

LevelNotFoundError#

Thrown when a Level cannot be found in a Hierarchy. This can happen in particular when loading a saved widget after updating a cube on the server side.

try {  } catch(error: Error) {  if(error instanceof LevelNotFoundError) {    // handle LevelNotFoundError  }}

MdxError#

Thrown when parsing an invalid Mdx query.

try {  } catch(error: Error) {  if(error instanceof MdxError) {    // handle MdxError  }}

MissingMetaDataError#

Thrown when the metadata file is missing or if the user does not have the permission to read it.

try {  } catch(error: Error) {  if(error instanceof MissingMetaDataError) {    // handle MissingMetaDataError  }}

NoResponseError#

Thrown when an HTTP request does not trigger any response from the server. This happens when the target server is down.

try {  } catch(error: Error) {  if(error instanceof NoResponseError) {    // handle NoResponseError  }}

PluginNotFoundError#

Thrown when a plugin identified by a pluginKey is not found in the registry. This can be caused by the absence of a PluginProvider in the React tree, or by the fact that pluginKey is malformed and does not correspond to any provided plugin.

try {  } catch(error: Error) {  if(error instanceof PluginNotFoundError) {    // handle PluginNotFoundError  }}

ResourceNotFoundError#

Thrown when an HTTP status of 404 is received.

try {  } catch(error: Error) {  if(error instanceof ResourceNotFoundError) {    // handle ResourceNotFoundError  }}

UnauthorizedError#

Thrown when an HTTP status of 401 is received.

try {  } catch(error: Error) {  if(error instanceof UnauthorizedError) {    // handle UnauthorizedError  }}

UnsupportedServerVersionError#

Thrown when a server version is unsupported. Accepted versions are 5.8.x, 5.9.x, and 5.10.x.

try {  } catch(error: Error) {  if(error instanceof UnsupportedServerVersionError) {    // handle UnsupportedServerVersionError  }}

UserNotFoundError#

Thrown when no User is found. It must be provided using UserProvider.

try {  } catch(error: Error) {  if(error instanceof UserNotFoundError) {    // handle UserNotFoundError  }}