title: Queue triggered Azure function throws exception when Queue message is created with the Azure Storage Node SDK
body: <p>I use the <a href="https://github.com/Azure/azure-storage-node" rel="nofollow noreferrer">Azure Storage Node SDK</a> to add a message to an Azure Storage Queue. Following the official exampel, my code looks like this:</p>
  
  <pre><code>const AzureStorage = require('azure-storage');
  const queueService = AzureStorage.createQueueService();
  
  queueService.createMessage('taskqueue', 'Hello world!', function (error) {
    if (!error) {
      // Message inserted
    }
  });
  </code></pre>
  
  <p>This adds a message to the <code>taskqueue</code> queue, which in turn triggers a Queue triggered Azure Function built with Node. When the Azure Function receives the message, it throws the following exception:</p>
  
  <pre><code>Exception while executing function: Functions.Function2. 
  Microsoft.Azure.WebJobs.Host: Exception binding parameter 'queuedMessage'. 
  mscorlib: The input is not a valid Base-64 string as it contains a non-base 
  64 character, more than two padding characters, or an illegal character 
  among the padding characters.
  </code></pre>