Aliyu Kuki
Aliyu Kuki

Reputation: 1

Autodesk forge viewer

So we are using the forge viewer API, but when we upload file it doesn't show on the viewer and we end up with a gray viewer.

The file transcription to svf seems to not be working properly.

Anyone experience or know how to solve this?

Upvotes: 0

Views: 167

Answers (1)

AlexAR
AlexAR

Reputation: 1324

First you need to check if your file is well uploaded in your bucket (I assume that your using Buckets/Object with 2-legged OAuth).

Using this endpoint your must see your uploaded files : Get Objects

In the response, you will find the objectId. This objectId need to be converted into base64 and URL Safe for the SVF translation.

Now, following this tutorial, you will be able to translate your file : Translate to SVF

Please note the response of this request to get the most information about this job.

Finally, check the manifest to know when the translation is complete.

Upvotes: 1

Related Questions