This is a useful article. I particularly recommend Holyrood house, the Royal yacht Britain and the Botanical Gardens
https://thepointsguy.com/guide/48-hours-edinburgh/
Permission Problem You need the session.valid permission to do that.