【发布时间】:2021-01-08 18:22:32
【问题描述】:
我正在尝试使用本指南发布项目 - https://forge.autodesk.com/en/docs/data/v2/tutorials/publish-model/
我能够获取预期中心的文档中心 ID(使用 3 legged 令牌,在 Autodesk 配置 b360 文档帐户并设置与 forge 应用程序的集成后),并将其传递给调用以获取使用本指南的项目(使用相同令牌或新令牌) - https://forge.autodesk.com/en/docs/data/v2/reference/http/hubs-hub_id-projects-GET/
我使用 GET hubs 调用中提供的以 b.xxx 开头的集线器 ID 从 GET 集线器返回响应 404 错误
{
"developerMessage": "The requested resource does not exist.",
"moreInfo": "https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/error_handling/",
"errorCode": ""
}
我已经尝试过这个。同样,而不是 b。并且没有运气的集线器ID前缀。我已验证此 ID 与在线帐户管理设置中显示的内容相匹配。
get 请求如下所示,其中包含格式为 Bearer {{token}} 的授权令牌,其中 {{token}} 是获取集线器 ID 时有效的令牌的(相同)变量。
https://developer.api.autodesk.com/project/v1/hubs/b.e3a26052-6b48-4a03-9115-xxxxxxxxxxx/projects
是我的格式不正确,还是有其他问题?
【问题讨论】:
标签: autodesk-forge autodesk-data-management autodesk-bim360