Export server not configured error
Posted: Tue Jul 05, 2022 8:10 am
Hi,
After enabling the highcharts-export-server by running highcharts-export-server --enableServer 1
we got export-server has started
But after starting the server we run the below curl command
curl -H "Content-Type: application/json" -X POST -d "{ \"infile\": { \"title\": { \"text\": \"Steep Chart\" }, \"xAxis\": { \"categories\": [ \"Jan\", \"Feb\", \"Mar\" ] }, \"series\": [ { \"data\": [ 29.9, 71.5, 106.4 ] } ] }, \"width\": 1200 }" localhost:7801 -o output-file.png
Then in the exported output file it is shown as Export server not configured like below we didnot get proper export file Even after running node build.js command in export server root multiple times we got the same error in output file
Could please tell why this issue occurred when we try to export file as we are trying to implement highcharts-export-server in angular application
After enabling the highcharts-export-server by running highcharts-export-server --enableServer 1
we got export-server has started
But after starting the server we run the below curl command
curl -H "Content-Type: application/json" -X POST -d "{ \"infile\": { \"title\": { \"text\": \"Steep Chart\" }, \"xAxis\": { \"categories\": [ \"Jan\", \"Feb\", \"Mar\" ] }, \"series\": [ { \"data\": [ 29.9, 71.5, 106.4 ] } ] }, \"width\": 1200 }" localhost:7801 -o output-file.png
Then in the exported output file it is shown as Export server not configured like below we didnot get proper export file Even after running node build.js command in export server root multiple times we got the same error in output file
Could please tell why this issue occurred when we try to export file as we are trying to implement highcharts-export-server in angular application