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?