Traceback (most recent call last):


 "/usr/lib64/python3.5/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "/home/fab/Documents/repos/home-assistant/homeassistant/components/thingspeak.py", line 76, in thingspeak_listener

channel.update({'field1': _state})


 "/home/fab/Documents/repos/home-assistant/lib64/python3.5/site-packages/thingspeak/thingspeak.py", line 123, in update

return self._fmt(r)


 "/home/fab/Documents/repos/home-assistant/lib64/python3.5/site-packages/thingspeak/thingspeak.py", line 126, in _fmt

r.raise_for_status()


 "/home/fab/Documents/repos/home-assistant/lib64/python3.5/site-packages/requests/models.py", line 893, in raise_for_status

raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.thingspeak.com/update.json?field1=3.9

Traceback (most recent call last):


 "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 206, in invoke

cmd_result = self.invocation.execute(args)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 603, in execute

raise ex


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 661, in _run_jobs_serially

results.append(self._run_job(expanded_arg, cmd_copy))


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 652, in _run_job

cmd_copy.exception_handler(ex)


 "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/role/commands.py", line 69, in graph_err_handler

raise ex


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 631, in _run_job

result = cmd_copy(params)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 306, in __call__

return self.handler(*args, **kwargs)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 487, in default_command_handler

return op(**command_args)


 "/opt/az/lib/python3.6/site-packages/azure/graphrbac/operations/signed_in_user_operations.py", line 77, in get

response = self._client.send(request, stream=False, **operation_config)


 "/opt/az/lib/python3.6/site-packages/msrest/service_client.py", line 336, in send

pipeline_response = self.config.pipeline.run(request, **kwargs)


 "/opt/az/lib/python3.6/site-packages/msrest/pipeline/__init__.py", line 197, in run

return first_node.send(pipeline_request, **kwargs)
# type: ignore


 "/opt/az/lib/python3.6/site-packages/msrest/pipeline/__init__.py", line 150, in send

response = self.next.send(request, **kwargs)


 "/opt/az/lib/python3.6/site-packages/msrest/pipeline/requests.py", line 65, in send

self._creds.signed_session(session)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/adal_authentication.py", line 26, in signed_session

scheme, token, _ = self._token_retriever()


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 543, in _retrieve_token

return self._get_token_from_cloud_shell(resource)


 "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 376, in _get_token_from_cloud_shell

auth = MSIAuthentication(resource=resource)


 "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 592, in __init__

self.set_token()


 "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 598, in set_token

self.scheme, _, self.token = get_msi_token(self.resource, self.port, self.msi_conf)


 "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 486, in get_msi_token

result.raise_for_status()


 "/opt/az/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status

raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
