Closed khoaho closed 8 years ago
I tested the same 401 error with viewingApp.html too. The token in viewingApp.html is replaced with a new 2-legged token.
I even tried multiple scopes data:create
, data:read
and data:write
, but none of them work.
You also need to use a URN that has been generated with your own credentials otherwise you will get unauthorised error
Thank you. The URN is private, not public as I thought. I think it was public before.
There is no such thing as a public URN, it is always tied to the set keys that was used to upload/translate/generate the token for viewing
Hi,
I have 401 (Unauthorized) error to run viewer.html with token getting from POST /authentication/v1/authenticate with
scope = data:read
The 401 error is: GET https://developer.api.autodesk.com/viewingservice/v1/dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGVlZnNtcC1mb3JnZS1wZXJzL3Rlc3QuZHdm