GET https://.../folderName 404

Nextcloud version (eg, 18.0.2) :
Operating system and version (eg, Ubuntu 20.04) : Raspbian buster 10
Apache or nginx version (eg, Apache 2.4.25) : 2.4.38
PHP version (eg, 7.1) : 7.3

The issue you are facing:
This doesn’t show in the logs but when I click a folder in the server and click f12 to observe the network I get the error:

GET 404

But despite the 404 error, I’m still able to enter the folder and view my files, upload, and download as well.

Steps to replicate it:
Click a folder