public async Task Run([ServiceBusTrigger("testqueue",, Connection = "queueConn")]string mySbMsg, ILogger log) { try {
/////////// message is not even hitting the function. however it is failing with the below error message. /////// System.Private.CoreLib: Exception while executing function: ExportInspection. Microsoft.Azure.WebJobs.Host: Exception binding parameter 'mySbMsg'. Microsoft.Azure.WebJobs.ServiceBus: The Message with ContentType 'null' failed to deserialize to a string with the message: 'Expecting element 'string' from namespace 'http://schemas.microsoft.com/2003/10/Serialization/'.. Encountered 'Element' with name 'base64Binary', namespace 'http://schemas.microsoft.com/2003/10/Serialization/'.'. System.Private.DataContractSerialization: Expecting element 'string' from namespace 'http://schemas.microsoft.com/2003/10/Serialization/'.. Encountered 'Element' with name 'base64Binary', namespace 'http://schemas.microsoft.com/2003/10/Serialization/'.
why is the content type null and how to resolve this issue