Welcome to the troubleshooting page for Flexmonster Pivot. To troubleshoot Flexmonster CLI, Flexmonster Data Server, or Flexmonster Accelerator, refer to the following guides:
In this guide, you can find an explanation of errors that you might experience while working with Flexmonster Pivot, as well as simple instructions on how to fix them. If your error is not listed here, contact our technical support.
This page has three sections:
If you are facing any issues while embedding the component, access your browser’s console on the webpage with Flexmonster. In the console, check if any errors appear and if so, have a look at this section.
The flexmonster.js
file was not loaded successfully. Ensure that the correct path is specified to flexmonster.js
:
<script src="node_modules/flexmonster/flexmonster.js"></script>
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<script src="flexmonster/flexmonster.js"></script>
The new Flexmonster()
API call was used to embed the component but the flexmonster.js
file was not loaded successfully. Make sure that you have included flexmonster.js
in your HTML page:
<script src="node_modules/flexmonster/flexmonster.js"></script>
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<script src="flexmonster/flexmonster.js"></script>
The ES6 version of the component is used in Internet Explorer. Since IE does not support the ES6 standard, use the ES5 version of the component (the flexmonster.es5.js
file) for this browser. It is available:
flexmonster.es5.full.js
file)flexmonster/
folder) Flexmonster embedding failed since the flexmonster.js
file was not loaded successfully. Make sure that flexmonster.js
is successfully loaded in your project:
<script src="node_modules/flexmonster/flexmonster.js"></script>
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<script src="flexmonster/flexmonster.js"></script>
Flexmonster embedding failed because the flexmonster.js
file was not loaded successfully. To resolve this error, include flexmonster.js
in your project:
<script src="node_modules/flexmonster/flexmonster.js"></script>
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<script src="flexmonster/flexmonster.js"></script>
The container
parameter is missing from the new Flexmonster()
API call. This parameter is necessary because it sets the selector of the HTML element which serves as the container for the component. For details on how the container
should be specified, refer to step 3 of our Quick start guide.
The <div>
container for the component was not created. Add a container to your HTML page like so:
<div id="pivotContainer">The component will appear here</div>
The content of the flexmonster/
folder was not loaded successfully. Add the componentFolder
parameter to the new Flexmonster()
call. For more details on this parameter, refer to the documentation about new Flexmonster().
The component is located in a folder other than flexmonster/
. Specify the componentFolder
parameter. For more details on this parameter, refer to the documentation about new Flexmonster().
The componentFolder
parameter is specified incorrectly. Make sure that componentFolder
contains the URL of the component’s folder (with flexmonster.css
and all other necessary files).
The theme/assets/
folder is missing from the component’s folder. Find flexmonster/theme/assets/
inside the download package and copy it to the folder with Flexmonster files.
The toolbar/
folder is missing from the component’s folder and toolbar: true
was specified when embedding the component. Find flexmonster/toolbar/
inside the download package and copy it to the folder with Flexmonster files.
The d3.min.js
file is missing from the lib/
folder. The d3.min.js
library is necessary for using Flexmonster Pivot Charts, so the error will be shown when switching to charts.
Similar errors may appear in the console if the lib/
folder is missing from the folder with Flexmonster files or any other file was removed from lib/
.
To get rid of such errors, find flexmonster/lib/
inside the download package and copy it to the folder with Flexmonster files.
flexmonster.css
and flexmonster.js
versions do not match. This can happen if flexmonster.css
has not been updated along with other Flexmonster files.
Check which JavaScript and CSS versions are specified in the warning’s text. Alternatively, you can check flexmonster.css
and flexmonster.js
versions by viewing these files through the Sources tab in your browser’s developer tools.
flexmonster.css
:
:root { --fm-version: "<version>" }
flexmonster.js
:
/** * Flexmonster Pivot Table & Charts * <version> */
flexmonster.css
and flexmonster.js
versions are not the same, follow the steps below:
flexmonster.css
and flexmonster.js
to the same version.flexmonster.css
and flexmonster.js
versions match.If the warning persists, contact our technical support.
This section lists solutions to errors that may occur with license keys.
Verify that the domain name shown in your error message (e.g., example.com
) matches your project’s domain name. If they are different, contact our team.
A trial license key does not support integration with third-party charting libraries. Contact our team to request a special trial key.
For our customers, we recommend replacing the trial key with their development or production license key.
The license maintenance on the key you’re using has expired. Contact our team for assistance.
A development license key is used on a real domain. Such a key is applicable to localhost environments only. To get the production key for the production environment or the development key for the real domain (e.g., example.com
), contact our team.
Your license key has expired. To renew your annual subscription, contact our team.
Your trial license key has expired. To continue the evaluation of our component, contact our team for trial extension.
This error may be caused by one of the following reasons:
A key placeholder is used instead of a real license or trial key. Replace "XXXX-XXXX-XXXX-XXXX-XXXX"
with your actual key. If you don’t have a license key, contact our team.
A license key is not specified. For instructions on how the license key should be specified, refer to our license keys guide.
Only a part of the license key has been set in the component. Open the email you received after purchase and copy the license key again.
A license key is not specified. For instructions on how the license key should be specified, refer to our license keys guide.
Here you can find solutions to errors that you may face when connecting to the data source or loading data into Flexmonster.
This message may be caused by one of the following:
filename
property will not work since JavaScript has no access to the filesystem.filename
property.This error may be caused by one of the following:
Check the catalog and cube names that you entered for the connection to the cube. To get the exact names, use our OLAP connection tool from the Toolbar:
Check the following points:
You are trying to load a file larger than 5 MB while using the SQL/CSV/JSON Basic Flexmonster edition. To upload bigger files, contact our team.
This message may be caused by one of the following:
The specified Elasticsearch index does not exist on your server. Make sure you have specified the correct index in the dataSource.index property.
Starting from version 2.9.26, Flexmonster applies the mapping.calendar_interval property to the date fields in the slice by default. The calendar_interval
is not available in Elasticsearch versions before 7.2.
If your version of Elasticsearch is older than 7.2 and you are using dates in the slice, specify the mapping.interval property explicitly to fix the error. For example:
report: { dataSource: { type: "elasticsearch", // other configs mapping: { "YourDateField": { interval: "day" } } } }
You are using the mapping.fixed_interval property, which is not supported in your version of Elasticsearch. The fixed_interval
was added to Elasticsearch in version 7.2 and is not available in older versions.
To fix the error, specify the mapping.interval property instead of fixed_interval
. For example:
report: { dataSource: { type: "elasticsearch", // other configs mapping: { "YourDateField": { interval: "3h" } } } }
Your license key does not cover the use of CSV and JSON data sources. Ensure that the data source type of your license key and the data source type you are using are the same.
To check which data sources are included in your license, follow the steps below:
Ctrl + Alt + i
(Option + Control + i
on macOS). This will open the pop-up window with your license information.If you want to test a data source that is not included in your licensing plan, contact our team.
Your license key does not cover the use of the Microsoft Analysis Services data source. Ensure that the data source type of your license key and the data source type you are using are the same.
To check which data sources are included in your license, follow the steps below:
Ctrl + Alt + i
(Option + Control + i
on macOS). This will open the pop-up window with your license information.If you want to test a data source that is not included in your licensing plan, contact our team.
Your license key does not cover the use of the Elasticsearch data source. Ensure that the data source type of your license key and the data source type you are using are the same.
To check which data sources are included in your license, follow the steps below:
Ctrl + Alt + i
(Option + Control + i
on macOS). This will open the pop-up window with your license information.If you want to test a data source that is not included in your licensing plan, contact our team.
Your license key does not cover the use of the Mondrian data source. Ensure that the data source type of your license key and the data source type you are using are the same.
To check which data sources are included in your license, follow the steps below:
Ctrl + Alt + i
(Option + Control + i
on macOS). This will open the pop-up window with your license information.If you want to test a data source that is not included in your licensing plan, contact our team.
Your license key does not cover the use of the icCube data source. Ensure that the data source type of your license key and the data source type you are using are the same.
To check which data sources are included in your license, follow the steps below:
Ctrl + Alt + i
(Option + Control + i
on macOS). This will open the pop-up window with your license information.If you want to test a data source that is not included in your licensing plan, contact our team.