XML-RPC - Pyone Autentification error

Hello everybody. Can some please explain to me why I am getting this error
pyone.OneAuthenticationException: [one.vmpool.info] User couldn’t be authenticated, aborting call.
with the following code:
import pyone
one = pyone.OneServer(“http://ip:2633://RPC2”, session=“user:password”)
vmpoolInfo = one.vmpool.info(-1,-1,-1,-1)
vmlist =vmpoolInfo.get_VM()
print(vmlist)

Hello @Alan_Piterson

Please check that the values stored in /home/<user>/.one/one_auth are the ones you are using to create pyone object.

Best,
Álex.

@ahuertas Created this file with “user:password” data, but still the same error.
UPDATED: WIth oneadmin it works. But with another user still error.

Hello @Alan_Piterson

Please, check that the user exists in OpenNebula and the password is correct. You can check if it exists using the command oneuser show <user_name> -x.

Best,
Álex.