I have tried the suggested code from headless viewer using below link [https://forge.autodesk.com/en/docs/viewer/v6/tutorials/headless/][1]
I have passing urn and token h