I have exactly the same problem with Shelly 1
https://shelly....eu.shelly.cloud/device/relay/control/?auth_key=XXXXXXXXXXXX&id=YYYYYYYYY&channel=0&turn=on
The answer is
{"isok":false,"errors":{"wrong_channel":"Could not control this relay channel!"}}