⚠️ This issue respects the following points: ⚠️
Bug description
When there is a storage quota set on an S3 storage that is connected to Nextcloud, and you try to move/copy some files there that would cause it to meet or exceed the quota, the error message that is displayed to the user does not indicate what the error is. When checking the request response, you can see the error about the quota. It looks like there should be a function to parse that and display it, but I don't think it works right.
Steps to reproduce
- Set up an S3 storage
- Connect it to Nextcloud via the files_external app
- Set a quota on the S3 storage
- Try to move or copy some files on Nextcloud to the S3 storage
- See the error
Expected behavior
The expected behavior is that the user would be correctly informed why the move/copy operation failed, instead of an unclear, all-purpose error message.
Nextcloud Server version
34 (master)
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info

Bug description
When there is a storage quota set on an S3 storage that is connected to Nextcloud, and you try to move/copy some files there that would cause it to meet or exceed the quota, the error message that is displayed to the user does not indicate what the error is. When checking the request response, you can see the error about the quota. It looks like there should be a function to parse that and display it, but I don't think it works right.
Steps to reproduce
Expected behavior
The expected behavior is that the user would be correctly informed why the move/copy operation failed, instead of an unclear, all-purpose error message.
Nextcloud Server version
34 (master)
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info