Hi - I just switched over to HA less than a week ago. I’m not sure this is the right category to post my issue. Pls let me know where to post otherwise. Thx.
Brief Status - I have HA installed in docker (no supervisor, etc), running on ubuntu, and have everything moved over to HA (except the Samsung appliances and the Ultraloq Lock). Everything runs fine except when I tried to integrate Smartthings (I need it for the lock). I am not using HA cloud but installed webhook daemon (as docker) on my ubuntu box. Everything work accordingly including IFTTT triggers to light up my living room. So I know the webhook URL I set in config is acceptable to HA and works.
When I installed Smartthings integration, I got the error “TargetInvalidChallengeError”. I tried multiple tokens from Smartthings, and deleting the “smartthing” file in “.storage”, etc (all solution I could found from google) and none of them works. What should I do to make it work? Any suggestion?
I am running HA version 2022.9 docker image
Here is the error message from the container log:
pysmartthings.errors.APIResponseError: Unprocessable Entity (422): { "requestId": "E6C8AD0B-2ED9-4995-B83E-4C10C64E1B99", "error": {"code": "ConstraintViolationError", "message": "The request is malformed.", "details": [{"code": "TargetInvalidChallengeError", "target": "https://<my-webhook-url>/api/webhook/387ab34cf8078e4ef95477886109e98f74d58cd76bf50ccdcdfba36d8d8824c1", "message": "Target did not respond with correct challenge", "details": []}]}}
Any help/direction to investigate is much appreciated!
Thank you!