Unable to connect to codeartifact repository

Unable to create repo connection in code artifact getting below error:

An error occurred (AccessDeniedException) when calling the GetAuthorizationToken operation: User: arn:aws:iam::584765611078:user/messi is not authorized to perform: sts:GetServiceBearerToken on resource: arn:aws:iam::584765611078:user/messi with an explicit deny in a service control policy

is it restricted?
I already gave codeartifacttadmin access to the user still not working

This means that a higher power - the account that owns the account you are working in - has set permissions boundaries on your account 584765611078, using service control policy. SCP can restrict even admin actions.

Whatever policy you created is merged with the SCP. If the SCP contains any DENY statements, they will take effect.

You need to speak to whoever is responsible for your account.