400 (Bad Request), is reported in the online version of viewer, in which the html file is copied from the example of the official website. How should I fill in only token and documentId,documentId?
this is how I got this string of documentId:
1 use postman request {{base_domain}} / modelderivative/v2/designdata/ {{urnBase64}} / manifest
to find the returned svf file URN as follows: ( * * omitted)
urn:adsk.viewing:fs.file: ( * *) / output/Resource/ 3D View / 3D/3D.svf
2 convert the above string to UrlEncode, as follows: ( * * omitted)
urn:urn%3Aadsk.viewing%3Afs.file%3A ( * *)% 2Foutput%2FResource%2F%E4%B8%89%E7%BB%B4%E8%A7%86%E5%9B%BE%2F3D%2F3D.svf
3 transfer the above string to Base64, without an equal sign at the end
4 fill in documentId, below, replacing only the contents in angle brackets, including angle brackets
var documentId = "urn: < >";