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

# Troubleshooting

> Common issues and how to fix them

If you're having trouble with Blox, check these common solutions before reaching out to support.

## Figma Import Issues

<AccordionGroup>
  <Accordion title="'Access Denied' when importing">
    Ensure you have connected your Figma account in **Settings > Integrations**. If it's already connected, try re-authorizing to refresh the token.
  </Accordion>

  <Accordion title="Elements are misaligned">
    Check if the elements in Figma are using **Groups** instead of **Frames**. We highly recommend using Frames with **Auto Layout** for the best code generation.
  </Accordion>
</AccordionGroup>

## Mobile Preview Issues

<AccordionGroup>
  <Accordion title="QR code won't scan">
    Ensure your phone's camera lens is clean and you have a stable internet connection. If the QR code still fails, click the "Copy Link" button beneath the QR code and open it manually in your phone's browser.
  </Accordion>

  <Accordion title="'Connection Timed Out' on phone">
    Your phone and your development machine must be on the same Wi-Fi network. Check your firewall settings to ensure port `8081` is open.
  </Accordion>
</AccordionGroup>

## App Store Build Failures

<AccordionGroup>
  <Accordion title="Invalid Bundle Identifier">
    The Bundle ID in Blox must *exactly* match the one you created in **App Store Connect**. Double-check for typos or extra spaces.
  </Accordion>

  <Accordion title="Certificate Expired">
    If your build fails during the signing stage, you may need to renew your Apple Developer Certificate in the Apple Developer Portal and re-sync with Blox.
  </Accordion>
</AccordionGroup>

***

### Still need help?

If your issue isn't listed here, we're active on these channels:

<CardGroup cols={2}>
  <Card title="Discord Community" icon="discord" href="https://discord.gg/useblox">
    Chat with other Blox builders and our core team.
  </Card>

  <Card title="Email Support" icon="envelope" href="mailto:support@useblox.com">
    For account-specific or billing inquiries.
  </Card>
</CardGroup>
