Home forums Using CanvasJS java.io.IOException: Server returned HTTP response code: 403 for URL … Reply To: java.io.IOException: Server returned HTTP response code: 403 for URL …

#21127

Vishwas R
Keymaster

@adirgapalit,

For security reasons, browsers restrict cross-origin requests. Please refer stackOverflow for more information.

Adding csv file to your project and loading it should work fine. Please download JSP Samples from our download page and checkout “Chart from CSV” example in the project.

If the issue still persist, kindly create a sample project and share it over Google-Drive or Onedrive so that we can look into the code, understand your scenario better and help you out.


Vishwas R
Team CanvasJS