Search code examples
autodesk-forgeautodesk-bim360

"No access to API product" error when trying to reach Data Connector API


I'm experiencing issues when trying to call the Data Connector API via Postman. When executing the POST request to submit a data request, Postman returns the following error:

    "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"

Here is what I've tried:

  • I have created a Forge app which has access to all APIs.
  • The user has Executive Overview permissions within the account (which has many projects).
  • I call the API using a 3-legged auth token with data:read, data:write and data:create scopes.

This is the code I'm using (exported from 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"]
}'

Your help would be highly appreciated. Thanks!


Solution

  • Jro, Simon, Data Connector API is now accessible. Could you give it a try if it can work at your side? Thank you for your patience and any feedback!