【问题标题】:Not able to retrieve project users and companies from BIM360 API无法从 BIM360 API 检索项目用户和公司
【发布时间】:2021-05-24 20:29:42
【问题描述】:

在获得 3-legged 令牌后,我可以检索中心、项目、清单、问题和其他相关项目数据,但是当我使用相同的令牌查询下面列出的端点时,我会返回 403 状态 伴随以下错误:

*"developerMessage": "Token does not have the privilege for this request.",
"moreInfo": "https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/error_handling/",
"errorCode": "AUTH-010"*

https://forge.autodesk.com/en/docs/bim360/v1/reference/http/companies-GET/ https://forge.autodesk.com/en/docs/bim360/v1/reference/http/admin-v1-projects-projectId-users-GET/

您能在这里给我一些见解吗?

谢谢,

恩里克·亚历山大

【问题讨论】:

    标签: autodesk-forge


    【解决方案1】:

    Get companies 端点需要一个 2-legged 令牌。

    关于Get Project users,请查看你的token作用域。

    成功的端点(检索hubsprojectschecklistsissues)需要data:read 范围,而Get Project users 需要account:read 范围。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-11-16
      • 1970-01-01
      • 1970-01-01
      • 2021-09-19
      • 2021-02-09
      • 2020-07-23
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多