Error after rest_command

Hi,

Since installing version 2024.2 (I think) I get an error when executing a rest_command

In fact, rest_command is executed, but further execution of the script/automation stops afterwards.

Here’s an example:

image

The script :

`alias: Rolluik
sequence:
  - service: rest_command.rolluik_{{ rolluik }}_{{ beweging }}_{{ druk }}
  - if:
      - condition: template
        value_template: "{{ beweging == 'op'}}"
    then:
      - service: input_boolean.turn_off
        target:
          entity_id: input_boolean.toggle_rolluiken_reeds_neer
        data: {}
description: " Rolluik op of neer"
fields:
  rolluik:
    description: The sutter you want to control
    default: salon
    example: badkamer
  beweging:
    description: Welke beweging
    default: op
    example: neer
  druk:
    description: Lang of kort drukken
    default: kort
    example: lang
mode: single
`

image

Calling the rest_command in developer tools gives me the same problem :

Any idea ?

Try with curl in e.g., the SSH addon:

curl -k -v <url>

Hopefully, it will tell you what’s the issue, precisely, but it’s likely to be an unexpected HTTP code (4xx, 5xx, …)

That’s the result :

image

The “server” doesn’t reply anything, in contradiction with the http standard.
I guess that’s why HA is not happy.

That’s true, I don’t get any answer from it…it’s just a command to my domotica system.

This worked for more than 2 years.

And now ?

Very much likely due to

As told in that PR, try continue_on_error

Super, it works ! Thank you so much !

Have a very nice day !