highcharts / node-export-server

Highcharts Node.js export server
Other
356 stars 261 forks source link

Chart Export feature is giving CORS issue suddenly. #602

Open Neha44hz opened 5 days ago

Neha44hz commented 5 days ago

Expected behaviour

Png, jpg, pdf must download from chart export button

Actual behaviour

Its is giving CORS issue

Live demo with steps to reproduce

Product version

Affected browser(s)

jszuminski commented 4 days ago

@Neha44hz thanks for reporting! Could you please share the exact error message that you're getting in your request/response?

Also, are you just clicking the exporting button on your chart, via the exporting.js module? Or are you sending a custom JSON request?

Please share more details.

foroozan commented 3 days ago

Hello, we are having the same issue, we use highcharts in our website and the issue is reported is Download PNG is not working. exact error is:

Access to fetch at 'https://export.highcharts.com/' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.