How can I fix this
An error has occurred near line number 104: An error occurred somewhere within the function defined at line 104. Here is the error message: Failed to fetch
First step is to look on line 104. And figure out what it's referring to there.
Without seeing the code there's no way of me helping with this. You could share a link to the generator you are working on, if you like.