The current AWS identity is not a role for SageMaker?

When I call get_execution_role() from SageMaker Python SDK, I get the following error: ValueError: The current AWS identity is not a role: arn:aws:iam::XXX:XXX/XXX, therefore it cannot be used as a