Fileinput cannot upload some images

Hi,
I'm try to use fileinput component
In my project, fileinput return Unable to read file as base64 string. A task was canceled.
then Attempting to reconnect to the server..

but it work on blazor.radzen.com/fileinput(same image and same code)

Is there any mistake in this?

Such error might happen if the image is too big

thank you
but only about 100kb image(?
And why doesn't this error occur on the sample page?

I’m afraid that in this case I don’t have any other ideas.

I try to find the limit
and I found that the largest file uploaded was 24513 bytes(about 23.9kb)
I don't know what's special about it

Try increasing the Hub options limit:

2 Likes

It works!
Thank you very much.!