Itās weird because it doesnāt happen when I upload a cover image to the same page, or photos to a different page - which I assume would need to use the POST requests?
Yes, and it would be very strange if POST requests were disabled, anyway.
Try removing the uploads: true line, it doesnāt make sense, because uploads are enabled by default and I think if not false, this option expects a file template name.
I remove the uploads true line but getting the same problem. I just tested it with a couple of different .mp3 files and they upload fine, so maybe itās a problem with this particular mp3 file! Weird! It plays fine, but maybe thereās something gone bad with the file? Iām gonna try re-exporting it later and Iāll let you know what happens.
The problem was that the filename had an apostrophe in it - it was called donāt-flush-my-head.mp3. I renamed it to dont-flush-my-head.mp3 and it uploaded fine.
I thought kirby had an auto file renaming system though? Is something broken that I need to tend to?
Iām on 3.3.0. I recently dabbled with the .htaccess file to forward the http:// and no-www to https://www so Iām not sure if thatās messed something up? I tried reverting to the original .htaccess file and the problem persisted so Iām not entirely sure thatās it.
I had the same kinda error as youāre mentioning.
I had set my .htaccess file to force trailing slash.
With this setting on I didnāt have any problems on first sight but when I tried to upload a simple pdf file I had this exact error.
Not sure if you do have this setting but as youāre mentioning that you ādabbled with the .htaccess fileā I assume that could be your problem too.
Please note that browser can be very annoying when it comes to .htaccess/301 redirects and cache the hell out of that.
I would recommend you to try this in another browser / private window.