Adding below code in Blazor server apps Program.cs helped solve the issue:
builder.Services.Configure<HubOptions>(options =>
{
options.MaximumReceiveMessageSize = 10 * 1024 * 1024; // 10MB or use null
});
More information can be found on:
Also the code below was already added and it didn't help:
builder.Services.AddServerSideBlazor()
.AddHubOptions(options =>
{
options.MaximumReceiveMessageSize = 100 * 1024 * 1024;
});