Missing required property 'type'
See original GitHub issueWe are regularly receiving the following error in our logs. Several times a second.
Error when processing requests.
System.IO.InvalidDataException: Missing required property 'type'.
at HubMessage Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol.ParseMessage(Utf8BufferTextReader textReader, IInvocationBinder binder)
at bool Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol.TryParseMessage(ref ReadOnlySequence<byte> input, IInvocationBinder binder, out HubMessage message)
at async Task Microsoft.AspNetCore.SignalR.HubConnectionHandler<THub>.DispatchMessagesAsync(HubConnectionContext connection)
at async Task Microsoft.AspNetCore.SignalR.HubConnectionHandler<THub>.RunHubAsync(HubConnectionContext connection)
I’m not positive, but it seems like it has to do with the Azure SignalR Service because as far as I can tell, all clients are including the ‘type’ property in all JSON messages. We are only seeing this in one of our subscriptions/environments.
Versions: JS client: 1.1.0 Microsoft.AspNetCore.SignalR: 1.1.0 Microsoft.Azure.SignalR: 1.0.6
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:16 (7 by maintainers)
Top Results From Across the Web
Error after synchronizing: "Missing required property: type_"
I had an image embedded in a note. On the image, right click, reveal location. I drag and drop that file back onto...
Read more >Sync error: "Missing required property: type_:" - Support
Hi,. I use Dropbox to synchronize files between a few clients (e.g. Mac, Linux and Android). That worked fine, until on a Mac...
Read more >jsonschema not throwing error on missing required property
The main issue is that your required keyword is ignored because it is next to $ref . When an object with a $ref...
Read more >MissingRequiredPropertyExcepti...
When an API object is built and a required property hasn't been set, a MissingRequiredPropertyException is thrown. This applies both to request object...
Read more >Connection Between Data Factory and Azure SQL is not ...
Missing required property 'type' on entity reference Activity ID: .... We have found very little information on how to solve this error.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here you are. I am not sure this all lines relate to the error. I collected some of them before and some after.
We have the same issue. From time to time I see in logs the same error with stacktrace.
Versions: Android client: com.microsoft.signalr:signalr: 3.1.0 Microsoft.AspNetCore.SignalR: 1.1.0 Microsoft.Azure.SignalR: 1.4.3
We have now not so many clients (avg 10 simultaneous connections) but we got about 50 such errors per day.