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

# File Upload Errors

> Troubleshoot file upload issues and attachment problems in ZeroTwo

Having trouble uploading files? This guide covers common file upload errors and how to resolve them.

## Common upload errors

<AccordionGroup>
  <Accordion title="File too large">
    **Error**: "File exceeds maximum size" or "File too large"

    **Solutions:**

    * **Max file size**: 100MB per file
    * **Compress large files**: Use compression tools
    * **Split large documents**: Upload sections separately
    * **Use external links**: For very large files, host elsewhere and share link
  </Accordion>

  <Accordion title="Unsupported file type">
    **Error**: "File type not supported"

    **Supported formats:**

    * Documents: PDF, DOCX, TXT, MD
    * Images: JPG, PNG, GIF, WEBP
    * Code: JS, PY, TS, and most text-based code files
    * Data: CSV, JSON, XML

    **Solutions:**

    * Convert to supported format
    * For unsupported files, copy-paste content as text
  </Accordion>

  <Accordion title="Upload failed or stuck">
    **Error**: Upload progress bar stuck or fails

    **Solutions:**

    1. **Check connection**: Ensure stable internet
    2. **Retry upload**: Cancel and try again
    3. **Reduce file size**: Compress or optimize
    4. **Different browser**: Try Chrome or Firefox
    5. **Clear cache**: Browser cache and cookies
    6. **Disable extensions**: Ad blockers may interfere
  </Accordion>
</AccordionGroup>

## Best practices

<Steps>
  <Step title="Optimize files before upload">
    * Compress images
    * Remove unnecessary pages from PDFs
    * Clean up code files
  </Step>

  <Step title="Use appropriate formats">
    * Text files process fastest
    * PDFs work well for documents
    * Images should be reasonably sized
  </Step>

  <Step title="Check file integrity">
    * Ensure files aren't corrupted
    * Verify files open correctly on your device
    * Try opening in different applications
  </Step>
</Steps>

## Related pages

<CardGroup cols={2}>
  <Card title="Files and images" icon="file" href="/chat/files-and-images">
    Working with files
  </Card>

  <Card title="Image editing" icon="image" href="/tools/image-editing">
    Image tools
  </Card>
</CardGroup>
