autodesk-model-derivative


GetManifest() and GetThumbnail() fail on some Item Version of Forge Model Derivative API


I'm using Forge c# client library to read A360 hub/project/folders structure using a 3legged token (Model Derivative API).
For every [Version] of a [Item] in [Data Service] of A360 i need to know:
if a file has conversion errors;
if it has a thumbnail, get it;
if a item version is ready show it in the viewer (using viewer v.
2.xx)....
After authentication, i correctly see the users account hub-project-folders structure:
A360Hub
---Samples
------Golden Bridge Gate.dwf
---------Golden Bridge Gate.dwf (v1)
------V8 Engine.iam
---------V8 Engine.iam (v1)
When i call the GetManifest() using [Golden Bridge Gate.dwf (v1)] urn i get the expected result:
string strGoldenBridgeGateV1_urn (v1) urn1 = "dXJuOmFk......_dmVyc2lvbj0x";
....
DerivativesApi.GetManifest(strGoldenBridgeGateV1_urn)->OK
DerivativesApi.GetThumbnail(strGoldenBridgeGateV1_urn)->OK
....
When i call the same code using [V8 Engine.iam (v1)] urn i get "Error 404: not found".
....
string strV8EngineIamV1_urn="dXJuOmFkc2su........Gc_dmVyc2lvbj0x";
DerivativesApi.GetManifest(strV8EngineIamV1_urn)->FAIL (404)
DerivativesApi.GetThumbnail(strV8EngineIamV1_urn)->Fail (404)
....
Error details:
-------------- Exception:
Error code:404
HResult:-2146233088
Stack:
Autodesk.Forge.Client.ApiException: Error calling GetThumbnail: in
Autodesk.Forge.DerivativesApi.GetThumbnailWithHttpInfo(String urn,
Nullable`1 width, Nullable`1 height) in
Autodesk.Forge.DerivativesApi.GetThumbnail(String urn, Nullable`1
width, Nullable`1 height) in my code...
Same happens on file with other files: it works with .RVT,.DWF files;
it fails with .IAM, .NWC, .SLDASM, .IFC files....
Any idea?
For A360 files the translation is already there, you don't need to use Derivative API, unless you need to convert to a different format (RVT -> IFC, for instance).
Update: Data Management API was released in mid-2016 and old files on old accounts, specially those sample files, need to be recreated for it to work. Workaround (for sample files) is to download and upload again to a different folder. Customer data was migrated.
Take a look at this sample, is shows the viewable if available (check this line too).

Related Links

GetManifest() and GetThumbnail() fail on some Item Version of Forge Model Derivative API
Forge file conversion for Viewer — translation stuck at x%
Conversion to SVF fails with TranslationWorker-InternalFailure
Is there a way to translate a Fusion 360 model to Inventor without creating an App?

Categories

HOME
gaming
long-integer
antd
elisp
flurry
navigation
ipv6
sharepoint-online
vimeo
responsivevoice
spring-jpa
dhcp
webstore
maven-plugin
pickle
susy-sass
sqlplus
generator
window-managers
list-comprehension
jackrabbit-oak
tortoisehg
pyspark-sql
dotcms
mapnik
mongodb-3.4
john-the-ripper
counting
nest
winrm
directfb
bootstrap-sass
java-stream
orchardcms-1.8
keyboard-layout
fastlane
python-jira
plane
uipickerview
newtons-method
google-prediction
expandablelistview
axis
cyanogenmod
webalizer
django-static-precompiler
nothing
md5-file
dtd
msxml
ternary-operator
data-management
nsdata
fragmentstatepageradapter
highlighting
uibinder
vimperator
largenumber
dnx50
embeddedwebserver
web-api
python-curses
mxe
thoughtworks-go
configurable-product
inequality
oracle-adf-mobile
code39
strdup
illuminate-container
insertion
zend-pdf
getopt-long
trialware
uploading
qtextbrowser
nsconnection
regression-testing
explicit
fgetc
ppc
wmd-editor
tacit-programming
iphone-sdk-3.1.3
synthesizer

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App