uSync.Exporter error

Hi everyone,

I’m trying to import a uSync SyncPack in Umbraco v13, but I keep getting the following error:

Failed to upload 413

Some details about my setup:

  • The SyncPack file size is 79 MB.

  • Kestrel is configured in Program.cs with MaxRequestBodySize = 100 MB.

  • uSync API in appsettings.json has MaxFileSize = 100 MB.

  • The project is running on Kestrel only, not IIS.

Since the file size is below both limits, I’m confused why the upload fails with a 413 Payload Too Large error.

Has anyone encountered this issue with uSync v13? Could it be related to reverse proxies, networking, or some other configuration I might have missed? Any guidance would be greatly appreciated!

Thanks in advance!

Hi,

It does look like it’s a size limit (413 is request to long).

Even though it’s .net core if you are running on IIS you may well still need to add web.config entries for maxrequest lenght .

We have some sample setup for that in the docs.

1 Like

Thank you @KevinJump

This was indeed the problem, we managed to fix it by adding a web.config and now its working!