Smartthings - Unable to set up the SmartApp

Hello all,

I am trying to add Smartthings to HA and I am hopeless as nothing works to resolve the error: Unable to set up the SmartApp:
Snímek obrazovky 2024-06-05 171848

I am running HA on Synology NAS in VM

To overcome webhook error I installed Cloudflare, what works well now

But I cannot move forward with Smartthings integration. I’have tried almost everything possible I’ve found in forums - turning off bots in Cloudflare, removing Smartthings file in HA, countless restarts, changed TLS to 1.2 in Mosquitto, firewalls turn off, no ip_bans are reported, checked SSL (are generated by Cloudflare), etc.

Log says this error:
pysmartthings.errors.APIResponseError: Unprocessable Entity (422): {“requestId”: “5599899047163335268”, “error”: {“code”: “ConstraintViolationError”, “message”: “The request is malformed.”, “details”: [{“code”: “PatternError”, “target”: “targetUrl”, “message”: “targetUrl is malformed.”, “details”: }]}}

Any ideas what would resolve this?

after many trials I found the solution: by just adding this to configuration.yaml

Snímek obrazovky 2024-06-05 210007