When you upload the file to the bucket , when you click on the file number 1 you receive the error number 2
enter image description here
need to understand why we revive the translation error from forge
Related
I am trying to view SVF is working well BIM 360 using Model Derivate APIs, but now using SVF2 getting errors like
NO ACCESS Sorry, you don't have the required privileges to access this item, the same screenshot of the error message is given below.(error message)
Missing anyother steps in the program(program image)
Which is created a program is image enclosed.
I am trying to attach a photo via the Forge API to an issue like it does in BIM 360 when drag and drop files into the Attachments tab.
I tried to create a bucket, upload a file there and attach the uploaded file with "urnType" = "oss" using a POST request for attachments. But it crashes with 403 code at attacment post.
Try to follow this tutorial : Attach BIM360 Files
The urnType should be "dm" in the POST request
EDIT :
If you want to upload pictures and be able to see it, you can use "oss" for the urnType but instead of using the urn of the picture from folderContents endpoint ex : urn:adsk.wip:dm.lineage:... use the objectId in the response of the upload ex : urn:adsk.objects:os.object:wip.dm.prod/xxxx-xxxx-xxxx-xx.png
Then if you check the attachment details you'll get attachment-type:"photo" instead of "document" and be able to see the thumbnail in the issue details.
I tried it and it worked for me (and you have one step less in the process of adding pictures attachment 😉)
we can view the Revit file on Autodesk forge viewer.
And we need to get all elements from Revit files uploaded in system using Revit API.
we are trying using below link
https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-GET/
But unfortunately we are getting below error
"Token does not have the privilege for this request."
errorcode : AUTH-010
Please help me how to resolve the error
Our main aim is to get all elements(equipments,floors,rooms,spaces etc)
Please make sure you have given the proper scopes, call this API using the internal token from your server.
Ref:
https://learnforge.autodesk.io/#/oauth/?id=scopes
https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/scopes/
I am using the google AutoML vision api object detection option in google console.When I try to upload the images to google storage to train the model, I am getting "Failed to import" error.
I have tried using the csv file option as well but the same error persists.
Since I am using the object detection model in google console, so it does not require to write any code.
The expected result is that the images are imported successfully so that I can move to next step to train my model.
I was facing same problem when upload a dataset from cloud storage (Select a CSV file on Cloud Storage) it shows this error message.
Failed to import data
However, I checked the IMAGES section and the dataset was there, so it was successfully uploaded regardless the error message (you can ignore it).
We have integrated AutoDesk Forge Viewer. We are sending a request to the Forge API's for conversion (using Model derivative API). After closing the Viewer, If we need to show the same file again, Currently we are posting the dwg file again for conversion to view it.
Instead is there a way so save the svf file in my local system so that I need not call the Forge web service twice for the same file.
According to the pricing, for every simple conversion job, its going to cost 0.2 credits.
Please suggest how I can avoid this same conversion second and n number of times.
Thank you,
Shiva Kumar
Unless the DWG file has changed, you do not need to upload the DWG file again and/or POST a translation again. If you do this, you will effectively consume 0.2cc. Instead, just reference the URN you had received after upload/translation when starting the viewer. The 'bubble' or SVF persists on the backend depending of the storage policy you chose. For example, if you create a transient bucket, the file and bubble will persists for 24h, temporary for 1 month, and persistent forever.
I have found a reference to how to iterate through the bucket and see the files which are present in the bucket.
We can login in the below live demo using the forge credentials.
Live Demo
Source Code
Thanks.