【发布时间】:2018-07-23 06:47:49
【问题描述】:
我正在尝试使用 Autodesk Forge API 在 BIM 360 Field 中自动设置项目。该代码旨在在内部系统上运行,目前使用two legged authentication method. 我已经设法获得项目设置,我现在正在尝试使用推荐的V2 import endpoint:添加项目管理员
POST projects/:project_id/users/import
由于我使用的是两条腿身份验证,因此我在标题中指定了我的 x-user-id。当我运行它时,我收到以下错误:
{fault.name} - The client_id specified does not have access to the api product
无论我使用哪个 V2 端点,都会发生这种情况;即使在 Forge 开发中心为应用程序启用了所有服务。我查看了this answer 并且 Mikako 的解决方案有效,但这是通过使用 V1 端点,我希望能够使用此端点和其他 V2 端点。我的 V2 实现可能出了什么问题?
【问题讨论】:
标签: autodesk-forge autodesk-bim360