It is possible to encounter some errors while writing the message prompts. There are three main troubleshooting steps to be taken to solve most of the errors with Horizons web app maker:
Take a screenshot of the error you face and send it in Horizons chat so that the AI itself would fix the issue
Go to ChatGPT, ask for it to rewrite the prompt message you submitted following an AI language model, then copy and paste the prompt - generally, Horizons understands better AI generated prompt messages
Click on "Revert to this message" and get back to a previous message in which the Horizons solution was working as expected, prior to the current situation
faced:
Have in mind that once you decide to revert a message, the other messages you sent after that are permanently lost and the reverted message, even if retracted, is still counted on your Horizons messages limit.
Another way to tackle the issues faced with Horizons is, whenever Horizons spots an error to be fixed, a pop-up will be displayed inside your project:
Click on "Ask to Fix" to fix the issue and wait for a moment while it gets fixed. Have in mind it counts as one of the messages sent in the daily usage limit with the tool.
How to proceed when facing errors
Normally, when Horizons give errors, it is expected that the pop-up to fix the error via button will be clicked, and this is the best course of action:
However when the error does not get fixed after the first try, there is a very high likelihood that second, third and so on trials will also fail.
Even further spamming this request to fix the error can cause the app to get broken even more in multiple spots.
In order to fix this:
Please revert to the message in which the first error happened and try to write in the prompt to the AI more context on what was broken in the request to fix the error:
Another option is to revert to a state where the app did not yet go into this error loop and to write the prompt that initially broke it in a simpler manner.
Additional help
If you need additional help, reach out to our Customer Success team: How to contact Hostinger support.
Additionally, explore the most common mistakes users make when developing web apps with Hostinger Horizons. By learning from these examples, you’ll be able to create functional, efficient, and well-structured apps from the start.