Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.6/site-packages/requests/utils.py", line 868, in check_header_validity

if not pat.match(value):
TypeError: expected string or bytes-like object

Traceback (most recent call last):


 "/rasa_nlu/data_router.py", line 205, in _list_projects_in_cloud

p = get_persistor(self.remote_storage)


 "/rasa_nlu/persistor.py", line 28, in get_persistor

os.environ.get("apigateway.us-west-1.amazonaws.com"))


 "/rasa_nlu/persistor.py", line 147, in __init__

self._ensure_bucket_exists(bucket_name)


 "/rasa_nlu/persistor.py", line 181, in _ensure_bucket_exists

CreateBucketConfiguration=bucket_config)


 "/lib/python3.6/site-packages/boto3/resources/factory.py", line 520, in do_action

response = action(self, *args, **kwargs)


 "/lib/python3.6/site-packages/boto3/resources/action.py", line 83, in __call__

response = getattr(parent.meta.client, operation_name)(**params)


 "/lib/python3.6/site-packages/botocore/client.py", line 324, in _api_call

return self._make_api_call(operation_name, kwargs)


 "/lib/python3.6/site-packages/botocore/client.py", line 596, in _make_api_call

api_params, operation_model, context=request_context)


 "/lib/python3.6/site-packages/botocore/client.py", line 629, in _convert_to_request_dict

api_params, operation_model, context)


 "/lib/python3.6/site-packages/botocore/client.py", line 658, in _emit_api_params

params=api_params, model=operation_model, context=context)


 "/lib/python3.6/site-packages/botocore/hooks.py", line 227, in emit

return self._emit(event_name, kwargs)


 "/lib/python3.6/site-packages/botocore/hooks.py", line 210, in _emit

response = handler(**kwargs)


 "/lib/python3.6/site-packages/botocore/handlers.py", line 222, in validate_bucket_name

if VALID_BUCKET.search(bucket) is None:
TypeError: expected string or bytes-like object
