noel
03/10/2025, 2:31 PMplain
Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/umbraco/backoffice/umbracoapi/media/PostAddFile","fields":{"currentFolder":"1324","contentTypeAlias":"umbracoAutoSelect","propertyAlias":"umbracoFile"},"file":{"key":"8cd4722b-0127-4cae-a5a3-e5da31386fbe","messages":[]},"_isDigested":true,"_chunkSize":null,"headers":{"Accept":"application/json, text/plain, */*","X-Requested-With":"XMLHttpRequest","X-UMB-SEGMENT":null,"X-UMB-XSRF-TOKEN":"CfDJ8NmAoZtxGFBMmfT2L703U5tz5MfwPyG7y3DOdSdQGyQa-ZxkJ2UQLhhuSQoRHY154oG6cLiKc078eEeFr6LoLBzOXjsTy4RkHVMRT3HTR6bRFZ5zRPTMAPFKq7eK7o-Ajr5nRvD7iSES-YLNYswPvEza3VFno3OUI15M6Ev7cKUFvk1DuOGJlfqC2SPg7Dferg"},"_deferred":{"promise":{}}},"statusText":"","xhrStatus":"error"}
Furthermore, the post request get rejected with "NS_ERROR_CONNETION_REFUSED" after the upload "has finished" . I thought the problem might be the file size limitations but I adjusted both in the appsettings json and the web.config just to be sure.
xml
<requestLimits maxAllowedContentLength="2000000000" />
json
"Runtime": {
"MaxQueryStringLength": 90,
"MaxRequestLength": 2000000000
When trying to upload the file in a local dev environment (using iis not kestrel) I get this error in the backoffice:
https://pastebin.com/1TXKyZcp <- was too long for pasting
Appriciate any help, thanks!
https://cdn.discordapp.com/attachments/1348664582763446460/1348664583560364112/message.txt?ex=67d04945&is=67cef7c5&hm=30a44dcecf33e37c9900c24674ca61e28f309f770cfa008af7815e9d7bf1d3b6&Sebastiaan
03/10/2025, 3:12 PMnoel
03/10/2025, 3:43 PM