Skip to content
Advertisement

AWS QuickSight session ends so fast

I am having issue with QuickSight . I am following the documentation how to implement it. I got these policies added:

JavaScript

}

And this one too:

JavaScript

}

I am generating the embedUrl with nodeJS.

JavaScript

This here generates the EmbedUrl . And when i copy paste it to my browser it will display me the dashboard. But when i apply that long url to my React application it will not display it . I use this code in front-end:

JavaScript

It will give me this error: Message: "csrf token missing or not match." I also tried to generate this EmbedUrl from the Front-end (and this was my first initial idea to do) but sadly getting only CORS errors . I tried with this code here:

JavaScript

I also saw in some tutorials that there might be needed changes in the admin panel of quicksight https://eu-west-1.quicksight.aws.amazon.com/sn/admin But i cannot acces this page. Perhaps i need more premissions from administrator?

Advertisement

Answer

You need to make sure that the domain where you are embedding your QuickSight dashboard is white listed here https://eu-west-1.quicksight.aws.amazon.com/sn/admin#embedding If you do not have permissions to add domains there then you need a QuickSight admin to add the domain there.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement