Forbidden Error on uploading any File

Hello i get an error on uploading any file with any extension. I cannot uploading and cannot get the cause for the error. Please help me as soon as possible.

Sorry to hear you’re facing problems :slight_frown:

If you’re urgently looking for support to keep your business running, consider checking out our paid support options.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the following as you can (you can cut and paste this into your topic):

Nextcloud version (eg, 10.0.2):
Operating system and version (eg, Ubuntu 16.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 5.6):
Is this the first time you’ve seen this error?:

Can you reliably replicate it? (If so, please outline steps):

The issue you are facing:

The output of your Nextcloud log in Admin > Logging:

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

The output of your Apache/nginx/system log in /var/log/____:

Remember, this information may be requested if it isn’t supplied; for fastest response please provide as much as you can :heart: Feel free to use a pastebin service, otherwise log files can be indented with 4 spaces on each line to present them in a friendlier way on the forum.

Can you please guide what can be the possible errors ??? I cannot find any file with shows the Forbidden error in nextcloud. can you tell me the file?

Are you sure it is ANY file type? Have you tried uploading a simple text file?

I am having issues uploading particular file types, renaming them with a different extension allows them to be uploaded and then they can be renamed within nextcloud and they work fine.