allow-same-origin error even after adding attribute to iframe

Working on LookerEmbedSDK , added the allow-same-origin attribute to sandbox but still getting allow-same-origin error

Please find the attachment for more details
Code

LookerEmbedSDK.createDashboardWithId(dashboardId).withSandboxAttr(‘allow-same-origin’, ‘allow-scripts’, ‘allow-popups’, ‘allow-forms’)