I think to specify the revision you need to be logged into snapd as a user that has permission to change the snap in the store. The most obvious scenario being that if you are the owner of the snap you are able to use --revision for that snap, but other users cannot.
you can always snap revert <snap> to go back to the former local revision, but you can not randomly define a revision to jump to as an enduser like a developer (owner) of the snap can
We run into the same error just now with the snapd version, 2.54.4. The command we are using is snap download docker --revision=1458. The same build worked 2-3 hours ago. Thanks!