Error scheduling data extraction on Autodesk Platform Services - Stack Overflow

I'm getting the following error body when trying to schedule a data extraction.{"detail"

I'm getting the following error body when trying to schedule a data extraction.

{
    "detail": "This clientId is not authorized to perform the operation.",
    "status": 403,
    "type": "error",
    "title": "Forbidden",
    "id": 983632626,
    "errors": [
        {
            "detail": "This clientId is not authorized to perform the operation.",
            "title": "Forbidden",
            "type": "error"
        }
    ]
}

My request is the following:

curl --location '/<MY_ACCOUNT_ID>/requests' \
--header 'Authorization: Bearer <MY_BEARER>' \
--header 'Content-Type: application/json' \
--data '{
        "description": "My Company Data Extract",
        "isActive": true,
        "scheduleInterval": "ONE_TIME",
        "reoccuringInterval": null,
        "effectiveFrom": "2020-11-06T19:09:40.106Z",
        "effectiveTo": "2020-11-12T19:09:40.106Z",
        "serviceGroups": [
          "admin",
          "issues"
        ],
        "callbackUrl": ";,
        "sendEmail": true,
        "projectId": null,
        "projectIdList": "[ \"<MY PROJECT ID>\" ]",
        "startDate": "2023-06-06T00:00:00.000Z",
        "endDate": "2023-06-06T12:00:00.000Z",
        "dateRange": "LAST_MONTH",
        "projectStatus": "active"
      }'

The scopes I used for creating the authentication token are: account:read data:create data:write data:read and I'm using a three legged authentication.

I also created a client_id and client_secret on APS which was then added to ACC.

Thanks

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745238783a4618051.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信