API returning error and also CORS error
I am trying to use this API, which I found on the website https://random-word-api.herokuapp.com/. The objective is to return a random word for my wordle game. The problem is that it is not returning the grid anymore, when I try to click in any of the options it returns some errors on the console, as shown in the image below. I spotted that the undefined error happens probably because there is no word to generate the grids. I found it weird that it is returning a CORS error, for being backend stuff, and tried to look into the API's website and entering in the https://random-word-api.herokuapp.com/word to see what happens, and it is returning a java error

