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
webview
jms
android-fragments
code-formatting
cryptography
liferay-7
apache-kafka-connect
mosquitto
implicit-conversion
sentry
polymer-2.x
gtk
yeoman-generator-angular
alljoyn
circleci
cname
buffer
orange-api
pfobject
sqlplus
unordered-multimap
prompt
window-managers
social-networking
nic
credit-card
steam-web-api
opnet
gsp
winrm
textmate2
landscape
ng-repeat
jacoco-maven-plugin
axis
sonarqube5.2
gtk#
pen
wikimapia
glimpse
predicates
petsc
ogg
mifos
streamwriter
libharu
tablespace
decoder
zynq
always-on-top
callouts
openseadragon
qtcpsocket
qpixmap
powerpoint-2013
noclassdeffounderror
sharepoint-apps
verisign
gravatar
preferenceactivity
diawi
vdm-sl
modern.ie
swagger-maven-plugin
dbmigrate
gflags
rfc5545
sablecc
nsmutabledata
baseadapter
symja
cout
osascript
zend-search-lucene
jack
cpu-time
roxy-fileman
typesafe-stack
code39
progress-db
infinite
coalesce
ui-design
django-filebrowser
gprof
xcode4.5
getproperty
jzmq
django-apps
downgrade
resharper-5.1
zend-test
xap

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App