title: Google Cloud KMS: Unable to decrypt
body: <p>I'm trying to decrypt a kms encrypted file and  running in to the following error:</p>
  
  <pre><code>UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position 3: invalid start byte
  </code></pre>
  
  <p>I'm using the sample decrypt code.</p>
  
  <p>I'm able to decrypt the file using the command line.</p>
  
  <p>The exception is being thrown from here:</p>
  
  <pre><code>cipher_text.decode('utf-8')
  </code></pre>
  
  <p>Code: <a href="https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/kms/api-client/snippets.py" rel="nofollow noreferrer">https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/kms/api-client/snippets.py</a></p>
  
  <p>Please let me know if I'm missing something here.</p>