Error payload exceeds max payload size

what is max payload size in downlink , i can not send a message like that {eventId:2,dataTypeId:201,data:{“data”:“ogfsdgsdfgfdk”}}

Maximum payload depends both on the region and the DR used to transmit. Check you the regional parameters from the LoRa Alliance to check yours.