Users Receive "Cannot read properties of undefined" Error When Uploading Files with S3 Optimized Uploads and Encryption Enabled
Original Question or Issue:
Users are unable to upload files (e.g., .png files) despite having the appropriate permissions. Uploads fail using both drag-and-drop and the Upload button, displaying the error:
Cannot read properties of undefined
Environment:
- Product - FileCloud Server
- Version - 23.262
- Platform - Windows, Linux
Steps to Reproduce:
- Enable S3 Optimized Uploads.
- Enable Encryption.
- Navigate to a folder where the user has upload permissions.
- Attempt to upload a file (e.g., a
.pngfile) using drag-and-drop or the Upload button. - The upload fails and displays the error:
Cannot read properties of undefined
Error or Log Message:
Cannot read properties of undefined
Defect or Enhancement Number:
FCL-11720
Cause:
This is a known product issue that occurs when S3 Optimized Uploads and Encryption are enabled simultaneously. The JavaScript error is a symptom of the underlying issue and does not indicate a permissions problem.
Resolution or Workaround:
- Verify whether both S3 Optimized Uploads and Encryption are enabled in the environment.
- If both features are enabled, the issue is likely related to the known defect.
- If possible, temporarily disable S3 Optimized Uploads.
- If the issue persists without these features enabled, collect browser console logs and FileCloud logs for further investigation.
Additional Information:
- The error is not caused by missing folder permissions.
- Parent folder permissions are inherited by subfolders unless permission inheritance has been explicitly overridden.
Notes: