- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I'm currently working on an application that interacts with the Autodesk API, and I've run into a bit of a roadblock. I'm trying to access the projects in my Autodesk Construction Cloud (ACC) account, but I'm having some trouble.
Here's what I've done so far:
- I've set up an application with Autodesk and ensured it has the necessary permissions.
- I've successfully performed a 3-legged authentication using the 'https://developer.api.autodesk.com/authentication/v2/authorize' endpoint.
- After authentication, I've used the 'https://developer.api.autodesk.com/project/v1/hubs' endpoint to see which data hubs I have access to.
However, I'm not seeing my ACC account listed among the hubs.
To try and work around this, I looked up the Account ID for my ACC account (for which I'm an administrator) and attempted to list the projects within that account using the 'https://developer.api.autodesk.com/project/v1/hubs/{hub_id}/projects' endpoint. I used the Account ID from the Account Admin section of ACC, and added a "b." prefix to convert it into a hub ID.
Unfortunately, this resulted in a 403 error with the following message: "'status': '403', 'code': 'BIM360DM_ERROR', 'detail': 'Failed to get projects with hub id b.xxxxxxxxxxxxxxxxxxxxx'}]}"
I'm sure there's something I'm missing here. Could anyone provide some guidance on how to access the project information for my ACC projects using the API?
Thanks in advance for your help!
Solved! Go to Solution.