Error In generating Embedding QS Dashboard | User Does not exist

I have one custom- name space I have a user created in that name space I have used that user to embed the dashboard. But still it throws exception like Embedding failed user does not exist

Hi @khushalt5 -

Can you show how you are embedding? Are you using the API or 1-click registered user embedding?

If API, Is the UserArn in this format?

// generate embedded url
    const url = await quicksight.generateEmbedUrlForRegisteredUser({
    'AwsAccountId': '111111111111',
    'ExperienceConfiguration': { 
        'QSearchBar': {
            'InitialTopicId': 'topicid'
        }
    },
    'UserArn': 'arn:aws:quicksight:us-east-1:111111111111:user/namespace/username',
    'SessionLifetimeInMinutes': 100
}).promise();