## **🔍 Overview**

When editing menus in Website Studio, you may encounter errors such as **"Generation Failed"**, **"Something Went Wrong"**, or **"Site-wide edit couldn't be completed."** These messages can appear when removing, rearranging, or renaming menu items, and may cause your changes to revert to their previous state. This article explains why these errors occur and walks you through the steps to resolve them.

## **⚠️ Common Symptoms**

- A **"Generation Failed"** error appears after submitting a menu edit prompt.
- A **"Something Went Wrong"** message blocks your changes from saving.
- The Website Studio agent enters a loading loop for more than a few minutes with no result.
- Your menu reverts to its original state after an attempted edit.
- A **"Site-wide edit couldn't be completed"** notice appears after bulk or page-level operations.
- Your edit is applied to the wrong page because the agent inferred the target from your wording instead of the page you were viewing.

## **💡 Why This Happens**

These errors are typically caused by one or more of the following:

- **Ambiguous prompt wording:** The AI agent may misinterpret your instruction and attempt to edit the wrong page or element, causing the build to fail.
- **Conflicting bulk operations:** Running multiple edits at the same time can cause the generation process to time out or produce an error.
- **Temporary platform instability:** Occasional server-side issues can interrupt the build pipeline, causing generation failures that are not related to your specific edit.
- **Complex structural changes:** Removing or reordering several menu items in a single prompt increases the chance of a generation error.

## **🚀 How to Fix It**

1. **Refresh the page and try again.** Many generation errors are transient. Close the error message, refresh your browser, and resubmit the same edit before trying anything else.
2. **Simplify your prompt.** Break your request into smaller, specific steps. Instead of asking to remove and rearrange multiple items at once, edit one menu item at a time. For example: **"Remove the 'Blog' item from the main menu"** rather than **"Remove Blog, move Services before About, and rename Contact to Get in Touch."**
3. **Be explicit about the target page.** To prevent the agent from editing the wrong page, always name the page clearly in your prompt. For example: **"On the Homepage, remove the 'Portfolio' link from the navigation menu."** Navigate directly to that page in Website Studio before submitting your edit.
4. **Wait for one operation to finish before starting another.** Avoid submitting a new prompt while the agent is still processing. If the agent appears stuck in a loading loop for more than five minutes, refresh the page and try again.
5. **Clear your browser cache.** A stale cache can sometimes interfere with Website Studio's build process. Clear your cache, reload the platform, and retry your edit.
6. **Try a different browser.** If errors persist, open Website Studio in a different browser (Chrome, Firefox, or Edge) to rule out browser-specific issues.

## **✅ Best Practices for Menu Editing**

- Make **one change at a time** and confirm it saves successfully before moving on.
- Always **navigate to the specific page** you want to edit before writing your prompt.
- Use **clear, direct language** in your prompts, naming both the menu item and the page it belongs to.
- Avoid running menu edits alongside other bulk site-wide operations.
- If an error occurs, **do not resubmit the same prompt repeatedly** — refresh first, then try a simplified version.

## **🙋 Still Seeing Errors?**

If you have followed all the steps above and the error persists, our team is ready to investigate further. If you need further assistance, open the chat widget in the bottom-right corner of the platform and type **human teammate** to be connected with a member of our team.