Description
We are running Rocket.Chat version 7.12.1 self-hosted on a Google Cloud Platform VM. Users are encountering a persistent frontend error when uploading files: “Cannot read properties of undefined (reading ‘getFilter’).” The server responds with 400 Bad Request on file upload API requests, but no backend errors are logged. We verified all relevant directory permissions (including /tmp/ufs), file upload settings, and tested multiple browsers and file types with the same result. There are no interfering extensions or apps enabled. Our environment details are provided below for your reference. Assistance is required to identify and resolve this file upload bug.
Server Setup Information
- Version of Rocket.Chat Server: 7.12.1
- Operating System: Debian Bookworm
- Deployment Method: Self-hosted on Google Cloud Platform VM, served via PM2
- Number of Running Instances:1 (PM2 managed single instance)
- DB Replicaset Oplog: Enabled (MongoDB WiredTiger 6.0.25)
- NodeJS Version: v22.21.1
- MongoDB Version: 6.0.25
- Proxy: Apache2
- Firewalls involved: no
Any additional Information
Rocket.Chat Apps engine version: 1.57.1
Database migration number: 318 (last run Nov 11, 2025)
Rocket.Chat installation directory and /tmp/ufs permissions confirmed as correct
Tested uploads directly on Rocket.Chat UI and custom frontend, with consistent errors
Network requests for uploads show 400 Bad Request with incomplete payloads
No backend log errors related to uploads