Troubleshooting Checklist
Use these checks when something feels off inside Rate Lab.No rates returned
- Verify
ratesis an array in your Liquid output; returning[]hides all offers. - Confirm
rendered_attrsin 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.idin 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.