> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.haddock.app/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Error "Out of memory" when uploading documents

On some mobile devices, errors may occur when trying to capture photos from the haddock app to upload invoice and delivery note images.  
​  
If you have this problem, follow these steps:

1. **Open your phone camera**.
2. **Take a photo of the pages of the invoice or delivery note**. It will be saved to your gallery.
3. Open **haddock**.
Click the **"+" button** > "**Expense**" > "**Search**" > "**Photo library**" (it may also be called the image gallery in another way)

![](https://storage.googleapis.com/helpdesk-haddock-images/documents/common-problems-and-solutions/error-out-of-memory-when-uploading-documents/images/01-error-out-of-memory-when-uploading-documents.png)