使用BIM360 API获取项目用户?

问题描述

我需要使用BIM360 Docs API获取分配给项目的用户,我已经使用了提供的API。但是它给出了内部错误,并且也没有错误代码。我使用了 https://forge.autodesk.com/en/docs/bim360/v1/reference/http/admin-v1-projects-projectId-users-GET/

中的API

API:https://developer.api.autodesk.com/bim360/admin/v1/projects/{{ProjectId}}/users

错误:服务器内部错误,没有错误代码

解决方法

这是最近已知的问题,您需要在标题中指定区域。例如如果您的BIM 360帐户是EMEA,则在调用GET:Project Users时设置标题。如果是美国,那么是美国。

curl --location --request GET 
   'https://developer.api.autodesk.com/bim360/admin/v1/projects/:projectid/users' \
   --header 'Region: EMEA' \
   --header 'Authorization: Bearer ....'

请告诉我们它是否可以在您身边正常工作

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...