CLI connection

Hi,
I’m trying to connect to MAAS thanks to the CLI with the following command : maas login <maas_url> <maas_api_key> but it doesn’t work and I have the following error “403 , b’Forbidden’”.
Do you have some clues to fix this problem?
Thanks

One of the reasons this might happen is if there is a significant discrepancy in the clocks of the two machines.

Otherwise, I’d suggest to enable the debug mode and inspect the regiond logs. The reason why the request fails will be in the logs