Error executing service <ServiceCall tts.iflytek_say: message=123>
Traceback (most recent call last):
File "/usr/src/app/homeassistant/core.py", line 1002, in _event_to_service_call
await service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/tts/__init__.py", line 135, in async_say_handle
options=options
File "/usr/src/app/homeassistant/components/tts/__init__.py", line 305, in async_get_url
engine, key, message, use_cache, language, options)
File "/usr/src/app/homeassistant/components/tts/__init__.py", line 319, in async_get_tts_audio
message, language, options)
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/tts/iflytek.py", line 183, in get_tts_audio
data = self.message_to_tts(message=message,person_id=get_person,speed=get_speed,volume=get_volume)
File "/config/custom_components/tts/iflytek.py", line 119, in message_to_tts
result_info = requests.post(TOKEN_INTERFACE, data=data).json()
File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 892, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.6/site-packages/simplejson/__init__.py", line 518, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.6/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.6/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 2 column 1 (char 2)