title: Azure Function Service Bus Trigger throws error A host error has occurred during startup operation
body: <p><a href="https://i.stack.imgur.com/KkmCO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KkmCO.png" alt="enter image description here"></a>I am developing a sample application for Azure Function for Service Bus Trigger but Facing the below issue while running it locally.</p>
  
  <pre><code>A host error has occurred during startup operation 'c283f2ad-3bf2-4efe-99f9-73cef19ca6ae'.
  [08-06-2020 12:29:59] Microsoft.Azure.WebJobs.ServiceBus: Microsoft Azure WebJobs SDK ServiceBus connection string 'Endpoint=sb://ntestsb1.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;[Hidden Credential]' is missing or empty
  </code></pre>
  
  <p>Please find below the code.</p>
  
  <pre><code> public static class Function1
      {
          [FunctionName("Function1")]
          public static void Run([ServiceBusTrigger("sb-fun-transactional-dev", Connection = "Endpoint=sb://sb-fun-dev.servicebus.windows.net/;SharedAccessKeyName=&lt;accessKeyName&gt;;SharedAccessKey=&lt;accessKey&gt;")]string myQueueItem, ILogger log)
          {
              log.LogInformation($"C# ServiceBus queue trigger function processed message: {myQueueItem}");
          }
      }
  </code></pre>