Reputation: 15
I couldn't load the 3d model with the viewer initialized by the access token because onDocumentLoadFailure() - errorCode:4 was given.
May I know what's the cause of this problem and how do I load my revit file in forge viewer which has been uploaded into ACC docs ?
Upvotes: 1
Views: 185
Reputation: 1324
You can find a tutorial that explains how to access hubs here : Hubs browser
I believe the error code you received is 403 Access denied
. To resolve this, you will need to provide access to your app in the Account Admin. You can find instructions on how to do this in this link: Manage access to docs.
Please note that the page describes how to provide access for BIM360 projects, but as far as I know, the process is the same for ACC projects.
Upvotes: 1