> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ratelab.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting

# Troubleshooting Checklist

Use these checks when something feels off inside Rate Lab.

## No rates returned

* Verify `rates` is an array in your Liquid output; returning `[]` hides all offers.
* Confirm `rendered_attrs` in the Output panel contains the expected structure.
* Re-run the scenario and inspect backend logs for evaluation errors.

## WebSocket isn’t updating

* Check the toolbar indicator—red means the Phoenix channel is disconnected.
* Ensure the `function.id` in your payload matches the active template channel.
* Try the **Run** button to force a manual refresh while the socket reconnects.

## Authentication failures

* Refresh your Shopify admin window to regenerate App Bridge tokens.
* Make sure development environment variables for the embedded app are set.
* Confirm the Phoenix backend allows the origin you’re testing from.

## Editor issues

* JSON validation errors appear inline; fix syntax before re-running.
* If Monaco stops responding, reload the route—state persists after reconnect.
* Disable browser extensions that inject scripts into Shopify admin pages.
