Hi
I have been getting the following error on my PYTHON transfer bots that have been connected to the waves blockchain for the last few days. The bot stops before it can finish transactions. What can I do about it.
Blockquote
Traceback (most recent call last):
File “C:/Users/md/Desktop/bot_2020/life.py”, line 60, in
myAddress.sendAsset(recipient = sds, asset = token, amount = m, attachment = message, feeAsset = sponsor, txFee = fee)
File “C:\Users\md\AppData\Local\Programs\Python\Python36\lib\site-packages\pywaves\address.py”, line 551, in sendAsset
return pywaves.wrapper(‘/assets/broadcast/transfer’, data)
File “C:\Users\md\AppData\Local\Programs\Python\Python36\lib\site-packages\pywaves_init_.py”, line 134, in wrapper
req = requests.post(‘%s%s’ % (host, api), data=postData, headers={‘content-type’: ‘application/json’}).json()
File “C:\Users\md\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\models.py”, line 897, in json
return complexjson.loads(self.text, **kwargs)
File “C:\Users\md\AppData\Local\Programs\Python\Python36\lib\json_init_.py”, line 354, in loads
return _default_decoder.decode(s)
File “C:\Users\md\AppData\Local\Programs\Python\Python36\lib\json\decoder.py”, line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “C:\Users\md\AppData\Local\Programs\Python\Python36\lib\json\decoder.py”, line 357, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Blockquote