ERR_ABORTED 500 Fetch error

Hello,
I am trying to fetch some data but I get ERR_ABORTED 500 as a response so does anyone know if there is any way of handling this? The code is bellow

        fetch(("http://it-akademija.com/prijava_tooltips/assets/getComments.php?nonce=" + Math.floor( ( Math.random() * 1000 ) + 1 )+"&za_probu=1"),{mode: "no-cors"})
        .then(response=>response.json())
        .then(msg=>console.log(msg))
        .catch(err=>console.log(err))

Hi,

The 500 error code means something wrong with the server.
Not the client.

Here a List of HTTP status codes - Wikipedia if you want to know more about the error.

You can’t fetch any data you like.

Servers normally read the Request Header, and filter origin or set of origins for requets.

Others allow requests from any origin, this is what cors stands for (Cross Origin etc). This site may work or something similar.