[英]Not able to retrieve project users and companies from BIM360 API
After obtaining a 3-legged token I can retrieve hubs, projects, checklists, issues, and other related project data, but when I query the endpoints listed below using the same token I get back a 403 status accompanied with the following error:获得 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/ 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/
Could you please give me some insights here?你能在这里给我一些见解吗?
Thanks,谢谢,
Henrique Alexandre恩里克·亚历山大
You'll need a 2-legged token for the Get companies endpoint.您需要一个用于获取公司端点的 2-legged 令牌。
About Get Project users , please check the scopes of your token.关于获取项目用户,请检查您的令牌范围。
The successful endpoints (retrieve hubs , projects , checklists , and issues ) require data:read
scope, while Get Project users require account:read
scope.成功的端点(检索集线器、 项目、 清单和问题)需要
data:read
scope,而获取项目用户需要account:read
scope。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.