You mean Portainer in Docker v29.0.4.
Btw, Portainer 2.33.5 was just released, which fixes the issue:
They did not fix it as elegantly as Traefik, which did it with automatic client-server API version negotiation. Portainer just raised the static API version:
Hence everyone can now update their Portainer image and remove the workaround.