UDP Minecraft Configuration with Errors

Hello,
i will run an minecraft container with my traefik, and i get this two error messages from trafik:
1.) error msg="field not found, node: rule" providerName=docker container=minecraft-minecraft
2.) error msg="field not found, node: rule" container=minecraft-minecraft

This is my conig snip from docker-compose:

ports:
      - "80:80"
      - "443:443"
      - "19132:19132/udp" 

Config from traefik.yml:

entryPoints:
    web:
      address: ":80"
      http:
       ...
      http:
       ...

    badrock:
      address: ":19132/udp"


providers:
  docker:
    endpoint: "unix:///var/run/docker.sock"
    exposedByDefault: false
  file:
    filename: /configurations/dynamic.yml

Config from dynamic.yml:

udp:
  routers:
    minecraft:
      entryPoints:
        - badrock
      service: "badrock"

  services:
    badrock:
        loadBalancer:
          servers:
            - address: "192.168.0.4:19132"

and minecraft docker compose:

labels:
      - "traefik.enable=true"
      - "traefik.docker.network=proxy"
      - "traefik.udp.routers.minecraft.entrypoints=badrock"
      - "traefik.udp.routers.minecraft.rule=Host(`minecraft.home.app.de`)"
      - "traefik.udp.services.badrock.loadBalancer.server.port=19132"

any idea? thanks a lot

Define your UDP router in file or docker dynamic config, not both. UDP router has no rule (doc) (which you use in labels).

## Dynamic configuration
udp:
  routers:
    Router-1:
      # does not listen on "other" entry point
      entryPoints:
        - "streaming"
      service: "my-service"
  services:
    my-service:
      loadBalancer:
        servers:
        - address: "<private-ip-server-1>:<private-port-server-1>"
        - address: "<private-ip-server-2>:<private-port-server-2>"

Only allowed according to reference (doc):

  - "traefik.udp.routers.udprouter0.entrypoints=foobar, foobar"
  - "traefik.udp.routers.udprouter0.service=foobar"
  - "traefik.udp.routers.udprouter1.entrypoints=foobar, foobar"
  - "traefik.udp.routers.udprouter1.service=foobar"
  - "traefik.udp.services.udpservice01.loadbalancer.server.port=foobar"

Yes, without the rule, the error has gone! Thanks! Sometimes i it to easy.