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
powerbi
schema.org
ews
whmcs
repair
scheduler
wine
vimeo
jquery-file-upload
sonata
rest-assured
mixpanel
pickle
cpu-usage
significance
social-tables
intel
channel
websphere-portal
offline-caching
microprocessors
dnsmasq
splunk-query
amazon-iam
source-insight
toad
caesar-cipher
spinner
macports
django-crispy-forms
aurelia-cli
sspi
google-now
flowchart
flipkart
word-cloud
latexml
vesta
jshint
qvtkwidget
ol3-google-maps
comm
redisson
node-apn
algebra
mongodb-aggregation
gmaps.js
front-camera
cognos-tm1
nitrousio
ternary-operator
google-identity-toolkit
java-2d
between
jeasyui
grinder
highest
auto-generate
canopy
espresso
libz
compositetype
sequence-sql
google-gdk
python-c-extension
maven-shade-plugin
fat32
global-scope
typesafe-stack
jmenubar
non-ascii-characters
disjoint-union
libxml-js
ax
dibs
spiral
simplecov
xcode4.5
jdom
mkannotation
netstream
digiflow
printqueue
active-record-query
pinax
bindable-linq

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