This is because you don’t have any active toggles i.e. at least one should be in night mode for this to work correctly.
You can mitigate this by changing the following line. This contains a default detestation if no toggle is selected.
[check-active-switch]
exten => s,n,Set(default-dest=app-daynight,4,1)