# Troubleshooting

## Page generation

### AI is taking too long

If over 2 minutes: check internet, click **Cancel** and retry, or refresh the page.

### Generation failed

Click **Cancel**, try a simpler prompt, or try a different page type.

### Blank or broken sections

Select the section → chat: "Regenerate this section." Or delete and use the Section Generator.

## Editing

### AI doesn't understand my request

Be more specific. Reference specific elements. Break complex requests into smaller steps.

### Changes not showing on canvas

Wait for AI to finish (check for spinners). Try refreshing.

### Undo not working

Works within current session only. Max 20 checkpoints. Grayed out = no checkpoints left.

## Publishing

### Publish button disabled

Sections still generating (wait for spinners to finish) or no changes to publish.

### Page not appearing on store

Check status is "Published." Verify URL in Shopify admin. Clear browser cache.

### Drift detection banner

Page was edited outside Smart Pages. See [Drift Detection](/smart-pages/preview-and-publish/drift-detection.md).

## Experiments

### Not collecting data

Page must be **published**. Verify traffic exists. Wait 24 hours for initial data.

### Low confidence

Not enough traffic for statistical significance. Try a more dramatic variation or run longer.

## Credits

### Running low

Check balance in dashboard. Upgrade plan. Use manual editing (section settings, inline editing) for small changes to save credits.

## Getting help

Click the **support icon** in the editor sidebar, or contact PageFly support through the Shopify app listing.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.pagefly.io/smart-pages/troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
