Unable to connect quicksight dashboard from localhost

Getting 400 Bad Request error while trying to access dashboard from local, i have seen the access key and security_key are right. Also, added it to the domain listing. Still, its giving error.

@Ganesh_Pasarkar can you tell a little more about “connect”

I guess you are trying to embed the Quicksight dashboard in your application running on your local environment.

But even that information is not enough to help you… So please provide as much info as possible about what you are trying to do, and then the community will be able to help…

@neelay Thanks for quick response. Yes, i am trying to to embed the Quicksight dashboard in your application running on your local environment. The dashboard works fine on other environment, but on local giving error. While debugging what i found that aws.get_aws_account_id() is not fetching account id from aws. Then i run this function independently which giving me error that Error: An error occurred (InvalidClientTokenId) when calling the GetCallerIdentity operation: The security token included in the request is invalid. Can you please tell me what else information is needed to investigate this.
screenshot-loca

@Ganesh_Pasarkar It appears that your AWS client is not configured properly. I’m not sure which language or SDK you’re using. You need to provide the account ID, secret key, and tokens for authentication, sometimes including a session token, depending on the type of user and security setup in your AWS account to get authenticated.

This might not be related to quicksight at all…