Hi,
I faced problems embedding a model into a website with a ticket I received.
The error message says: ‘‘Cannot GET /ticket/e7…’’
I am pretty sure that the ticket is valid since I got it from a ShapeDiver employee for a sample application.
Thank you in advance!
Best regards from Austria
PS: If any further information is needed, let me know…
Link to your model on ShapeDiver and the website where it is embedded would help us to understand the issue better. Also make sure you set up the embedding domains correctly, see links below for more details.
EDIT 2: When I include the line: modelViewUrl: "eu-central-1" I get an error 400, when I don’t include it, I get an error 404, maybe this is a important information…
Another thing I noticed is, that I cannot use even one of the sample codepen models locally on my pc.
No matter which ticket I use. The error looks a bit different, it says directly on the page that the model could not be loaded…
Hi, thank you for your help!
The problem is, that I have no paid account and that I should only embed one model for which I have a ticket. I don’t really understand why this does not work. I don’t use codepen, I develop locally, so it can’t be a domain issue in my understanding.
It’s very weird that this happens with the code from your ‘‘Get started’’ section of the API. When I copy the code to my webstorm project and don’t change anything but the ticket (except of a link to the JS file), it does not work. I get a error 400.
In my opinion it’s definitely not a issue of the code, since the blur effect when loading a model appears, just white and without model…
I would really like to finish the job.