Setting fan mode and temperature setpoint using SmartThings API

I am trying to set the fan mode and setpoint temperature on my Honeywell Z-wave thermostat. I can retrieve the thermostat status successfully through the ST API. However, I am encountering errors when trying to set the fan mode and setpoint temperature. What did I do wrong? Please help.

Body for setting the fan mode that I used. I feel like the arguments are not correct:
{
“commands”: [
{
“component”: “main”,
“capability”: “thermostatFanMode”,
“command”: “setThermostatFanMode”,
“arguments” : [
{
“thermostatFanMode”: “auto”
}
]
}
]
}
Response:
{
“requestId”: “20A972DB-99D5-4602-9726-0802ADBAED90”,
“error”: {
“code”: “ConstraintViolationError”,
“message”: “The request is malformed.”,
“details”: [
{
“code”: “UnprocessableEntityError”,
“target”: “[0].arguments.[0]”,
“message”: “invalid ENUM type”,
“details”:
}
]
}
}

Body for setting the cooling setpoint that I used:
{
“commands”: [
{
“component”: “main”,
“capability”: “thermostatCoolingSetpoint”,
“command”: “setCoolingSetpoint”,
“arguments” : [
{
“value”: 23,
“unit” : “C”
}
]
}
]
}

Response:
{
“requestId”: “1ECD4B4E-21D6-4994-AB16-DD9CD20F927C”,
“error”: {
“code”: “ConstraintViolationError”,
“message”: “The request is malformed.”,
“details”: [
{
“code”: “UnprocessableEntityError”,
“target”: “[0].arguments.[0]”,
“message”: “invalid NUMBER type”,
“details”:
}
]
}
}

I have the same issue how did you fixed it?

I just did the following:

{
“commands”: [
{
“component”: “main”,
“capability”: “thermostatCoolingSetpoint”,
“command”: “setCoolingSetpoint”,
“arguments” : [
23
]
}

Samsung documentation isn’t the greatest.

the issue by me was in the app it was blocked
you have to double click on the hub in the app and see there some settings about it.