NServiceBus.MessageDeserializationException

NServiceBus.MessageDeserializationException: An error occurred while attempting to extract logical messages from incoming physical message 2da90f3a-a30b-4037-9d02-ac080090c1be —> System.Exception: Could not find metadata for ‘Newtonsoft.Json.Linq.JObject’.
Ensure the following:

  1. ‘Newtonsoft.Json.Linq.JObject’ is included in initial scanning.
  2. ‘Newtonsoft.Json.Linq.JObject’ implements either ‘IMessage’, ‘IEvent’ or ‘ICommand’ or alternatively, if you don’t want to implement an interface, you can use ‘Unobtrusive Mode’.
    at NServiceBus.Unicast.Messages.MessageMetadataRegistry.GetMessageMetadata(Type messageType)

Please elaborate when you get this error? What is the message that is being handled? Do you have the message headers? Do you have custom message conventions?

I think these type of questions are best handled via a support case. Feel free to send us an email to support at particular dot net.