400 Error: Bad request AutoDesk Forge Api

400 Error: Bad request AutoDesk Forge Api

我在 https://github.com/Autodesk-Forge/viewer-nodejs-tutorial and they said to implement Model Derivative uploader before implementing the viewer. I tried this GitHub project- https://github.com/jaimerosales/modelderivative-nodejs-tutorial 关注了 AutoDesk Forge 的 GitHub 示例项目 根据他们的说明,我需要提及客户端 ID、密钥和存储桶名称。 运行 它出现了 400 错误。

**** Getting bucket details :  
nikhil7j9ug4pgfj7lcukyoht8salipyb7skfc7j9ug4pgfj7lcukyoht8salipyb7skfc
**** Getting all buckets ****
**** Uploading to 


bucket:nikhil7j9ug4pgfj7lcukyoht8salipyb7skfc7j9ug4pgfj7lcukyoht8salipyb7skfc 
File:./models/House.dwfx
**** Get all buckets response:
BUCKETS::::  extract-autodesk-io-20177j9ug4pgfj7lcukyoht8salipyb7skfc
BUCKETS::::  model2017-11-24-06-00-57-d41d8cd98f00b204e9800998ecf8427e
BUCKETS::::  model2017-11-24-06-01-25-d41d8cd98f00b204e9800998ecf8427e
BUCKETS::::  model2017-11-24-06-01-57-d41d8cd98f00b204e9800998ecf8427e
BUCKETS::::  model2017-11-24-06-02-10-d41d8cd98f00b204e9800998ecf8427e
BUCKETS::::  nikhil7j9ug4pgfj7lcukyoht8salipyb7skfc
BUCKETS::::  
nikhil7j9ug4pgfj7lcukyoht8salipyb7skfc7j9ug4pgfj7lcukyoht8salipyb7skfc
BUCKETS::::  testname7j9ug4pgfj7lcukyoht8salipyb7skfc
error: sdaflksofk { statusCode: 400, statusMessage: 'Bad Request' }
{ statusCode: 400, statusMessage: 'Bad Request' }

您能否尝试调试该应用程序,看看是否可以进一步了解您 运行 遇到此问题的原因?

您也可以尝试我的示例应用来创建您自己的存储桶并将文件上传到其中:OSS Manager 源代码:OSS Manager Source Code.

当您使用此示例查看文件时,URN 将显示在浏览器的控制台中 Window