Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
When we try to execute RPC with the Request Connector, we encounter the following errors.
We want to send a GET query to a specific URL, we don't need to send any values. But it says there is a field that should be string. We didn't understand where it should be a string. We would appreciate it if someone who encountered a similar error before could assist us.
""2021-01-25 20:36:42" - ERROR - [tb_gateway_service.py] - tb_gateway_service - 585 - must be str, not NoneType"
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/thingsboard_gateway/gateway/tb_gateway_service.py", line 580, in send_rpc_reply
self.tb_client.client.send_rpc_reply(req_id, dumps(rpc_response), quality_of_service=quality_of_service, wait_for_publish=wait_for_publish)
File "/usr/lib/python3/dist-packages/thingsboard_gateway/tb_client/tb_device_mqtt.py", line 245, in send_rpc_reply
info = self._client.publish(RPC_RESPONSE_TOPIC + req_id, resp, qos=quality_of_service)
TypeError: must be str, not NoneType
Hello,
When we try to execute RPC with the Request Connector, we encounter the following errors.
We want to send a GET query to a specific URL, we don't need to send any values. But it says there is a field that should be string. We didn't understand where it should be a string. We would appreciate it if someone who encountered a similar error before could assist us.
Thank you.
config:
Request Connector
service.log:
connector.log:
Versions (please complete the following information):