Skip to main content
NetApp Knowledge Base

Setup-mnode the script failed with UnicodeEncodeError: 'latin-1' codec can't encode character

Last Updated:

Applies to

  • NetApp SolidFire
  • NetApp HCI
  • Management Node (mNode) 11.3 and above


 When you run the setup-mnode, the script fails with the following error message

[2020-05-19T13:19:38.760683Z]:[hcilogger:120] ERROR:Uncaught Exception:
Traceback (most recent call last):
  File "setup_scripts/", line 325, in
  File "setup_scripts/", line 302, in main
  File "setup_scripts/", line 1304, in check_sf_mnode_credentials
  File "setup_scripts/", line 1298, in check_sf_mnode_credentials
  File "setup_scripts/", line 1242, in get_sf_api
  File "requests/", line 112, in post
  File "requests/", line 58, in request
  File "requests/", line 494, in request
  File "requests/", line 437, in prepare_request
  File "requests/", line 309, in prepare
  File "requests/", line 540, in prepare_auth
  File "requests/", line 96, in __call__
  File "requests/", line 63, in _basic_auth_str
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2029' in position 9: ordinal not in range(256)


Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.