authentication.error : Authentication error

I have embedded the file and want to run it in single page html, but an authentication error appears. I have entered the correct name and password.
the code :

<script src="http://localhost:8084/jasperserver-pro/client/visualize.js"></script>

<div id="container"></div>



auth: {

name: "jasperadmin",

password: "jasperadmin",



function (v) {


resource: "/public/Dcc_final",

error: function(e) {




ainsleyzamora99's picture
Joined: Mar 20 2023 - 4:02am
Last seen: 2 months 1 week ago

Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit for direct access to our technical support teams offering guaranteed response times.

arai_4 - 2 months 2 weeks ago

1 Answer:

Looks like you are running into a CORS issue. Please review following KBAs for self help on you can fix the issue:

JRS-SE's picture
Joined: Oct 30 2017 - 12:56pm
Last seen: 20 hours 42 min ago