Portainer Failure the server could not find the requested resource

Hello,

I Obey this link:

https://charmhub.io/portiner

I accessed the portainer. But when trying to connect to the cluster, the message appears:

Failure the server could not find the requested resource