Rclone+union: 500 Internal Server Error during init

Hi all, I’ve some trouble while trying to configure a new restic repository over a rclone union backend.
rclone union backend is named “un”, and it appears to be working correctly as I have tried to copy some files over there using rclone copy "." un: without issues.
Please see my versions:

$ rclone version
rclone v1.68.1
- os/version: ubuntu 24.04 (64 bit)
- os/kernel: 6.8.0-48-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.1
- go/linking: static
- go/tags: none
$ restic version
restic 0.17.3 compiled with go1.23.3 on linux/amd64

When I issue init command, I receive the following error:

$ restic -r rclone:un: -p restic_password.txt init
rclone: 2024/11/10 19:05:31 ERROR : : Create repo failed to Mkdir: object not found
Fatal: create repository at rclone:un: failed: Fatal: unable to open repository at rclone:un:: unexpected HTTP response (500): 500 Internal Server Error

Do you know what could be wrong in my setup?
Thanks in advance

Ok, I’ve found the solution reading post 7063.
The following rclone configuration (instead of the default policies) did the trick:

$ rclone config show
...
[un]
type = union
upstreams = rep4e: rep5e:
action_policy = eplus
create_policy = lus