ERR_ABORTED 500 Fetch error

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(("" + Math.floor( ( Math.random() * 1000 ) + 1 )+"&za_probu=1"),{mode: "no-cors"})


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.