Getting a “Validation Failed” Message in the iFrame, Bright PINK so I know it’s not a ServiceNow Message.
I have the domain in the Shapediver white list.
When running the URL provided for the iFRAME code is not authenticated which makes sense as the ballv2-2 is not publicly available and no white listed. See PINK error message “Embedding not allowed for [https://www.shapediver.com] (https://www.shapediver.com/)”
Can you provide a link to where the model is embedded (ideally) and, if not, a report of the browser console and possible network errors reported by the browser developer tools?
Your trial is still running, so embedding should work. You can take a screenshot or copy and paste here any errors reported by the console or the network tab of your browser developer tools.
The document discusses HTTP response headers, specifically the Content-Security-Policy: frame-ancestors header, which can affect how a page is rendered in an iframe. If the iframe is not functioning, it could be due to incorrect configuration of this header. For example, if the header is set to ‘self’ and the iframe is trying to load content from a different domain, it will not be allowed. Additionally, Internet Explorer has specific handling for this header, and if the configuration is not set up correctly, it may not work as expected. However, the document does not provide specific information about a problem with a non-functioning iframe, so further investigation would be needed to determine the exact cause.
Please send a PM explaining how this can be reproduced (login credentials etc). The console message from origin 'null' suggests some unusual setup, which we can’t reproduce ourselves.
Many thanks for your PM. The platform you are using to embed the iframe seems to set the attributes allow and sandbox on the iframe element, which likely cause the problem. Please try to deactivate this, and use exactly the iframe code we provide. Another option might be to add the referrerpolicy attribute and set it to origin.
In general, please use the iframe code as supplied on our platform. The allow and sandbox attributes seem to prevent our viewer to detect the domain of the embedding page, and hence the check whether embedding is allowed fails.
In case you can’t find a solution, please book an onboarding call.