Any changes in REST I missed, no longer working for me

I have some REST commands to send data from HA to other devices

My rest command looks like this

trigger_motion:
  url: "http://{{ deviceID }}:2323/?cmd=triggerMotion&password=mypassword"

And called it from automation via

service: rest_command.trigger_motion
data:
  deviceID: tablet_badezimmer

Calling the rest url with static data direct in browser works.

Worked for over a year now but since short it seems to be broken. But all I find is that this should still work. So hope someone has an idea why it does not work anymore.

Error log?

Log only says “Client error”, not sure why. Copying the url from log to browser gives no error.

Because you’re probably opening the URL in a browser that’s logged into your HA instance, so it passes authentication. My guess is you have a client auth error — and your log probably contains this error and the error code (401)

I am not trying to post to HA but call a rest url from HA. But I also tested if there is any problems with the url from a browser not logged in to HA, but still just works. And log is set to debug but only shows the info client error, no error codes or something so I have no idea what the problem is or what to check still.

OK found it, the reason was the host name resolve did change so I had to adapt it, work again correct.