# Classify error messages when uploading documents

\
🛠 Action Guide by Error Code

This is a guide summarizing error codes that may occur while using the Alli system and how to address them. Errors are broadly **Cases that the member (document uploader) can resolve directly**and **System internal errors that require help from an Alli account manager**divided into. Please refer to the table below and take appropriate action for your situation.✅ Actions for Members(*Errors that members can resolve by taking action themselves*)

|                                   |                                 |                                                               |                                                            |
| --------------------------------- | ------------------------------- | ------------------------------------------------------------- | ---------------------------------------------------------- |
| `DOCUMENT_BROKEN`                 | File is corrupted               | Upload a different copy                                       | ​                                                          |
| `DOCUMENT_EMPTY`                  | File contains no content        | Upload a file that contains content                           | ​                                                          |
| `DOCUMENT_ENCRYPTED`              | File is encrypted               | Remove encryption and re-upload                               | ​                                                          |
| `PDF_ERROR`                       | PDF page processing error       | Repair the PDF file and try again                             | ✓ (Contact support if the problem persists after retrying) |
| `HTML_PAGE_FORBIDDEN`             | No access permission to webpage | The server cannot access the URL                              | ​                                                          |
| `HTML_PAGE_NOT_FOUND`             | Webpage not found               | Check that the URL is correct                                 | ​                                                          |
| `HTML_PAGE_UNAVAILABLE`           | Webpage server error            | Check that the URL is correct                                 | ​                                                          |
| `HTML_CONTENT_TYPE_NOT_SUPPORTED` | Unsupported HTML type           | Check the content type of the URL                             | ​                                                          |
| `HTML_BODY_NOT_FOUND`             | No HTML body content            | Check whether the URL has a body                              | ​                                                          |
| `CREDIT_LIMIT_EXCEED`             | Credit limit exceeded           | Please adjust the credit allowance in Settings > Billing tab. | ​                                                          |

✅ Account Manager Actions(*Errors that are internal to the Alli system, cannot be resolved by members, and require assistance from an account manager*)

|                  |                                   |
| ---------------- | --------------------------------- |
| `OCR_ERROR`      | Internal server OCR service error |
| `NETWORK_ERROR`  | Internal server network error     |
| `LLM_ERROR`      | Internal server AI service error  |
| `INTERNAL_ERROR` | Unknown internal error            |

**The information to include when contacting support is as follows.**

* Error code (e.g. number 701)
* Time of occurrence
* The applicable file

<br>
