尝试对 Forge BIM360 API 进行 API 调用时出现错误?

I am getting an error when trying to make API calls to Forge BIM360 API?

我正在尝试对 forge BIM360 进行端点调用 API 但我不断收到以下错误消息: "{ ""developerMessage"":""指定的 client_id 无权访问 api 产品"", ""moreInfo"": "https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/error_handling/", ""errorCode"": ""AUTH-001""}"

我已正确设置自定义集成并且已成功收到访问代码。

我正在使用 RESTSHARP 和 vb.net 进行通话。 这是我的代码:

Dim client3 = New RestClient(https://developer.api.autodesk.com/project/v1/hubs/<my account ID 
with a b. in beginning>/projects)
Dim request3 = New RestRequest(Method.GET)
request3.AddHeader("Authorization", "Bearer " & strAccessToken)
Dim response3 As IRestResponse = client3.Execute(request3)
strJSON = response3.Content

有没有人遇到过这个问题,有什么建议吗?

API 您的 ClientID 需要从管理门户中的自定义集成选项卡获得授权。按照此处列出的步骤操作:https://fieldofviewblog.wordpress.com/2017/01/19/bim-360-activating-api-access-to-docs/