Troubleshooting Document Upload Issues
Common Causes of Document Upload Issues
When uploading documents, you may encounter several common issues. Here's how to troubleshoot them:
1. File Size Limitations
Email attachments: Maximum 6MB
Chat uploads: Maximum 100MB
Ensure your file does not exceed these limits.
2. Unsupported File Types
For security reasons, certain file types such as .exe or .bat are not allowed. Check that your file type is supported.
3. URL Expiration
Upload URLs are valid for only 2 hours. If the URL expires, request a new one to continue your upload.
4. Proper Upload and Reference
Make sure the file is correctly uploaded to the URL provided by the API. Use the attachment ID in subsequent calls to reference the uploaded file.
Steps to Resolve Upload Issues
Check the file size and type.
Ensure you are uploading to the correct URL.
If you receive an error like "attachment_not_uploaded," verify the upload step was successful.
If issues persist, retry the API call to obtain a new upload URL and try again.
Following these steps should help you resolve most document upload issues. If you need further assistance, consider reaching out for detailed steps or example code to assist your team.