Welcome to our troubleshooting page. Here 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.
This page has three sections:
- Installation troubleshooting
- Issues with license keys
- Issues with data source
Installation troubleshooting
If you are facing any problems with the embedding of the component, in your browser go to the page where Flexmonster should be displayed and open the browser’s console to check if there are any errors in the console.
This section provides solutions to the errors that you may see in the console. If you cannot find your error in the list below, post a question to our Help Forum.
Console error: 'GET (any URL)/flexmonster.js 404 (Not Found)'
This error means that
flexmonster.js
was not loaded successfully. Ensure that the correct path is specified to the
flexmonster.js
file:
For the npm package
<script src="node_modules/flexmonster/flexmonster.js"></script>
For CDN
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
For the download package
<script src="flexmonster/flexmonster.js"></script>
Console error: 'Uncaught ReferenceError: Flexmonster is not defined'
Getting this error means that the
new Flexmonster()
API call was used to embed the component but
flexmonster.js
was not loaded successfully. Make sure that you have included
flexmonster.js
in your HTML page:
For the npm package
<script src="node_modules/flexmonster/flexmonster.js"></script>
For CDN
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
For the download package
<script src="flexmonster/flexmonster.js"></script>
Console error: 'SCRIPT5009: Flexmonster is undefined'
Getting this error in Internet Explorer means that the ES6 version of the component is used. Internet Explorer
does not support the ES6 standard, so use the ES5 version of the component (
flexmonster.es5.js
) for this browser. It is available:
- On the CLI and npm (along with
flexmonster.es5.full.js
)
- On CDN
- In download packages (inside the
flexmonster/
folder)
Console error: 'ERROR TypeError: Flexmonster is not a constructor'
Such an error means that Flexmonster embedding failed since
flexmonster.js
was not loaded successfully. Make sure that the
flexmonster.js
file is successfully loaded in your project:
For the npm package
<script src="node_modules/flexmonster/flexmonster.js"></script>
For CDN
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
For the download package
<script src="flexmonster/flexmonster.js"></script>
Console error: 'ERROR TypeError: window.Flexmonster is not a function'
This error indicates that an attempt to embed Flexmonster failed because
flexmonster.js
was not loaded successfully. To resolve this error, include this file in your project:
For the npm package
<script src="node_modules/flexmonster/flexmonster.js"></script>
For CDN
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
For the download package
<script src="flexmonster/flexmonster.js"></script>
Pop-up alert and console errors: 'Flexmonster: Unable to create the component. DOM element is null.'
This error is thrown if the
container
parameter is missing in the
new Flexmonster()
API call. This parameter is necessary because it sets the selector of the HTML element which will be the container for the component. For an example of how
container
should be specified, refer to
step 3 of our Quick start guide.
Pop-up alert and console errors: 'Flexmonster: Unable to create the component. DOM element with id 'pivotContainer' is not found.'
Such an error indicates that 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>
Pop-up alert error: 'Flexmonster: Pivot cannot be drawn.'
This error means that the content of the
flexmonster/
folder was not loaded successfully. Add the
componentFolder
parameter to the
new Flexmonster()
call. For more details about this parameter refer to the
new Flexmonster() API call.
Console error: 'GET (any URL)/flexmonster/flexmonster.css 404 (Not Found)'
This error means that the component is located in a folder other than
flexmonster/
. Specify the
componentFolder
parameter. For more details about this parameter refer to the
new Flexmonster() API call.
Console error: 'GET (any URL)/(your componentFolder parameter)/flexmonster.css 404 (Not Found)'
This error indicates that you specified the componentFolder
parameter incorrectly. Make sure that componentFolder
contains the URL of the component’s folder (with flexmonster.css
and all other necessary files).
Console error: 'GET (any URL)/(your componentFolder parameter)/theme/assets/flexmonster-icons.woff 404 (Not Found); GET (any URL)/(your componentFolder parameter)/theme/assets/flexmonster-icons.ttf 404 (Not Found)'
This error means that the theme/assets/
folder is missing from the component’s folder. Add this folder, which can be found in the flexmonster/
folder inside the download package.
Console error: 'GET (any URL)/(your componentFolder parameter)/lib/d3.min.js 404 (Not Found)'
This error means that the lib/
folder is missing from the component’s folder. The error is also possible if the d3.min.js
file was manually removed from the lib/
folder. The d3.min.js
library is necessary for using any charts functionality, so the error will only be shown when switching to charts. If any other file was removed from lib/
folder, the same error will appear in the console (only when the component needs these libraries). To get rid of such errors, add the lib/
folder to the component’s folder. The lib/
folder can be found in the flexmonster/
folder inside the download package.
License keys
This section explains the meaning of the error pop-ups you may experience if a problem occurs with license keys.
Current key is only applicable for example.com.
You are trying to use the following key: XXXX-XXXX-XXXX-XXXX-XXXX
Verify that the domain name shown in your error message (e.g.
example.com
) matches the domain name of your project for which you have the key. If they are different,
contact our team.
Integration with third-party charting libraries is not available in the trial version.
For our existing customers, we recommend replacing their trial license key with a development license key or with a production license key. If you are evaluating our component, please
contact our team and request a special trial key.
Your license key is outdated and will not function with the current version. Please contact our support team to find out about upgrade options.
If you are updating from the previous major version to 2.3 or higher, new license keys are required. If your maintenance is active – please
contact our team.
You are trying to use a developer's key on a real domain (example.com). You are trying to use the following key: XXXX-XXXX-XXXX-XXXX-XXXX
This message indicates that a development license key is used which is applicable to a localhost environment only. To get the production key for the production environment or the development key for the real domain (e.g.,
example.com
), please
contact our team.
Your license period has expired. You are trying to use the following key: XXXX-XXXX-XXXX-XXXX-XXXX
This message is shown if your license key has expired. To renew your annual subscription, please
contact our team.
Your trial period has expired. You are trying to use the following key: XXXX-XXXX-XXXX-XXXX-XXXX
This message means your trial license key has expired. To continue the evaluation of our component, please
contact our team for trial extension.
Invalid license key. You are trying to use the following key: XXXX-XXXX-XXXX-XXXX-XXXX
Copy the license key you received after purchase and use it in your project. Also, check that the license key version is the same as the component’s version. For example, a license key for version 2.3 will not work with previous versions.
You are trying to use a template license or trial key: "XXXX-XXXX-XXXX-XXXX-XXXX". Please replace "XXXX-XXXX-XXXX-XXXX-XXXX" with an actual key.
This message means that you are using a key placeholder instead of a real license or trial key. Please replace
"XXXX-XXXX-XXXX-XXXX-XXXX"
with your actual key. If you don’t have a license key, please
contact our team.
This message means that you have not specified a license key. Please specify your license key. For instructions on how the license key should be specified, refer to
our guide on the license keys.
License key is corrupted.
This message means that you have probably copied only a part of the key. Please open the message you received after purchase and try copying the license key again.
This message means that you have not specified a license key. Please specify your license key. For instructions on how the license key should be specified, refer to
our guide on the license keys.
Serial number is corrupted.
This message means that you have probably copied only a part of the key. Open the message you received after purchase and try copying the license key again.
Data source
This section explains the meaning of errors you may experience if a problem occurs with the data source.
Unable to open file 'yourfile'. It seems that this file doesn't exist or 'Access-Control-Allow-Origin' header is absent in the requested resource.
This message may refer to one of the reasons below:
- There is no file with this name on the server. Make sure the filename you are trying to use is correct.
- The browser requires more privileges to load the data. By default, cross-domain requests from JavaScript are blocked. Enable CORS to make such requests. Refer to enable-cors.org for more details on how to resolve this issue.
- Internal server error — please open the browser’s console and check the errors there.
CSV and JSON support is not available in the current edition.
Each license key is bound to a data source. Check that the data source type for your license key, the type of the downloaded package, and the data source type you are using are the same. If you want to test a data source that is not included in your licensing plan,
contact our team.
MS OLAP support is not available in the current edition.
Each license key is bound to a data source. Check that the data source type for your license key, the type of the downloaded package, and the data source type you are using are the same. If you want to test a data source that is not included in your licensing plan,
contact our team.
Elasticsearch support is not available in the current edition.
Each license key is bound to a data source. Check that the data source type for your license key, the type of the downloaded package, and the data source type you are using are the same. If you want to test a data source that is not included in your licensing plan,
contact our team.
Mondrian support is not available in the current edition.
Each license key is bound to a data source. Check that the data source type for your license key, the type of the downloaded package, and the data source type you are using are the same. If you want to test a data source that is not included in your licensing plan,
contact our team.
icCube support is not available in the current edition.
Each license key is bound to a data source. Check that the data source type for your license key, the type of the downloaded package, and the data source type you are using are the same. If you want to test a data source that is not included in your licensing plan,
contact our team.
This message means that your Flexmonster edition is Pivot Table for SQL/CSV/JSON Basic. This edition has a 5 MB limitation on data size and your file exceeds this limitation. To upload bigger files, upgrade to the SQL/CSV/JSON edition. For further details please
contact our team.
Error opening URL. Please check your Internet connection.
This error means one of the following:
- There is no Internet connection. Reestablish this connection.
- You provided the wrong path to the proxy URL to the OLAP data source (Microsoft Analysis Services or Mondrian). Check that the URL is correct.
- There is an issue with accessing the data — make sure that current user has enough privileges.
- A server error occurred — check whether you have any errors in the browser’s console.
Invalid datasource or catalog. Please check.
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. Click the Connect tab, select To OLAP (XMLA), enter your Proxy URL, and click Connect. Select Data Source Info from the drop-down list. The list of available catalog names will be right under Data Source Info. After choosing the catalog name, the list of cube names will be shown.
Another possible cause of this error message is an internal server error. Try opening the browser’s console and checking there.
Stream error occurred while loading example.com
Check the following points:
- Check that either your filename (for CSV and JSON data sources) or the proxy URL path, catalog, and cube names (for SSAS and Mondrian data sources) exist and that the current user has sufficient rights to access them.
- Make sure that cross-domain requests are allowed. Additional information on this resource can be found here: enable-cors.org.
- Open the console in your browser and check for internal server errors.
- Check your Internet connection.
- If you are using SSAS via XMLA protocol, enable cross-origin resource sharing for Internet Information Services (IIS). Check out our detailed step-by-step guide. We also suggest trying our special server-side proxy called Flexmonster Accelerator instead of XMLA (read more).