【发布时间】:2021-01-16 20:04:04
【问题描述】:
我正在尝试使用 autodesk forge api 从图像创建网格,但无法上传照片,错误代码为 19。
我试过了-
curl -X POST \
https://developer.api.autodesk.com/photo-to-3d/v1/file \
-H 'authorization: Bearer xxx' \
-H 'cache-control: no-cache' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-H 'postman-token: e25fbfb0-3754-e48f-4f0f-cac34bfd9df2' \
-F 'file[0]=@IMG_20200930_180808.jpg' \
-F 'file[1]=@IMG_20200930_180814.jpg' \
-F 'file[2]=@IMG_20200930_180820.jpg' \
-F 'file[3]=@IMG_20200930_180830.jpg' \
-F type=image \
-F photosceneid=<some sceneid>
如果有什么遗漏,请建议,我必须通过邮递员使用。
【问题讨论】:
-
根据their documentation,错误码19表示
Specified Photoscene ID doesn't exist in the database。这有帮助吗?