# MQTT (client.send)

**URL:** <https://www.thethingsnetwork.org/forum/t/mqtt-client-send/30902>\
**Category:** End Devices (Nodes)\
**Created:** [October 18, 2019, 9:31pm UTC](https://www.thethingsnetwork.org/forum/t/mqtt-client-send/30902 "2019-10-18T21:31:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PleaseRain](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/pleaserain/32/35697_2.png) [@PleaseRain](https://www.thethingsnetwork.org/forum/u/PleaseRain)\
**Post date:** [October 18, 2019, 9:31pm UTC](https://www.thethingsnetwork.org/forum/t/mqtt-client-send/30902/1 "2019-10-18T21:31:02Z")

</div>

I’m having an issue with the ttn python library - MQTT client.send method.  
The documentation states the usage below, however, Python complains about the “confirmation” argument. It works if you drop the “confirmation” and “schedule” arguments i.e.  
client.send(dev\_id, payload, port=1) # This works  
client.send(dev\_id, payload, port=1, confirmation=False, schedule=“replace”) # This doesn’t work  
Anyone, come across this issue?

![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/4/8/484c975c1ed0e3240c32f28c2db50e1f0d744aaa.png)
