"No access to API product" 尝试访问数据连接器时出错 API
"No access to API product" error when trying to reach Data Connector API
我在尝试通过 Postman 呼叫 Data Connector API 时遇到问题。
执行POST请求提交数据请求时,Postmanreturns报如下错误:
"developerMessage": "The client_id specified does not have access to the api product",
"moreInfo": "https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/error_handling/",
"errorCode": "AUTH-001"
这是我试过的方法:
- 我创建了一个 Forge 应用程序,它可以访问所有 APIs。
- 用户在帐户(有很多项目)中具有执行概述权限。
- 我调用 API 使用具有 data:read、data:write 和 data:create 范围的三足身份验证令牌。
这是我正在使用的代码(从 Postman 导出):
curl --location --request POST 'https://developer.api.autodesk.com/data-connector/v1/accounts/<ACCOUNT_ID>/requests' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <BEARER_TOKEN>' \
--data-raw '
{
"description": "Test Extract",
"scheduleInterval": "ONE_TIME",
"effectiveFrom": "2021-01-30T12:00:00Z",
"serviceGroups": ["admin", "checklists", "dailylogs", "issues", "locations", "submittals", "cost", "rfis"]
}'
非常感谢您的帮助。谢谢!
我和你的问题一模一样,我不知道API是不是真的public。
希望Adesk forge团队的人能回答我们。
是的,这个 API 现在是 public 测试版。我们正在与工程师团队合作,很快就会回复您。我们对此问题深表歉意!
Jro、Simon,数据连接器 API 现在可以访问了。如果它可以在您身边工作,您可以尝试一下吗?感谢您的耐心等待和任何反馈!
我在尝试通过 Postman 呼叫 Data Connector API 时遇到问题。 执行POST请求提交数据请求时,Postmanreturns报如下错误:
"developerMessage": "The client_id specified does not have access to the api product",
"moreInfo": "https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/error_handling/",
"errorCode": "AUTH-001"
这是我试过的方法:
- 我创建了一个 Forge 应用程序,它可以访问所有 APIs。
- 用户在帐户(有很多项目)中具有执行概述权限。
- 我调用 API 使用具有 data:read、data:write 和 data:create 范围的三足身份验证令牌。
这是我正在使用的代码(从 Postman 导出):
curl --location --request POST 'https://developer.api.autodesk.com/data-connector/v1/accounts/<ACCOUNT_ID>/requests' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <BEARER_TOKEN>' \
--data-raw '
{
"description": "Test Extract",
"scheduleInterval": "ONE_TIME",
"effectiveFrom": "2021-01-30T12:00:00Z",
"serviceGroups": ["admin", "checklists", "dailylogs", "issues", "locations", "submittals", "cost", "rfis"]
}'
非常感谢您的帮助。谢谢!
我和你的问题一模一样,我不知道API是不是真的public。
希望Adesk forge团队的人能回答我们。
是的,这个 API 现在是 public 测试版。我们正在与工程师团队合作,很快就会回复您。我们对此问题深表歉意!
Jro、Simon,数据连接器 API 现在可以访问了。如果它可以在您身边工作,您可以尝试一下吗?感谢您的耐心等待和任何反馈!