Error: Request is in incorrect format for uploading a file.

Jahan Zeb asked on May 16, 2023 12:24

Hi dears, Facing strange issue with Kentico 13.0.73 media library file upload. No hotfix was installed.


It is working fine on localhost but after deploying on server it starts producing error as briefed below.


Previously it was allowing to upload files in different media library folders, but suddenly it started giving following error during file upload regardless of file type:

Request is in incorrect format for uploading a file.

Console Log Status:

I am seeing an error on console:

http// 405

Request URL:
Request Method: GET
Status Code: 405 
Message: "The requested resource does not support http method 'GET'."

Looking forward to your quick guidance.


Correct Answer

Jahan Zeb answered on May 17, 2023 10:13

Hi Ondrus,

Thank you for your reply. Issue has been resolved now, issue was with URL-Rewrite module's expression on frontend site, which was turning all CMS URL into small letters, excluding admin path fixed the issue.

Thank you,

1 votesVote for this answer Unmark Correct answer

Recent Answers

Juraj Ondrus answered on May 17, 2023 07:09

Were there made any changes to the IIS setup, web.config changes? Are you using valid and trusted SSL certificate(s)? Is there any load balancer, gateway, proxy server? This sounds like some security setting or tool is blocking this.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.