Autodesk-Forge / forge-api-dotnet-client

Forge .Net SDK: Provides .Net SDK to help you easily integrate Forge REST APIs into the application
https://www.nuget.org/packages/Autodesk.Forge/
Apache License 2.0
93 stars 70 forks source link

HubsApi: cannot access EMEA hubs #69

Closed rclankhorst closed 3 years ago

rclankhorst commented 4 years ago

I'm currently working on an integration with BIM360 Document Management and Revit software. This requires me to specify which datacenter is being accessed, and where the files are located to be downloaded.

With the current version of the Autodesk.Forge package, I'm correctly doing all the steps necessary in order to access the files necessary for the project, successfully so at that, but exclusively from the US datacenter. When trying to execute v1/hubs/ in an external tool such as Postman, the following metadata comes along, whilst providing at least one US-based hub:

"meta": {
  "warnings": [
    {
      "Id": null,
      "HttpStatusCode": "403",
      "ErrorCode": "BIM360DM_ERROR",
      "Title": "Unable to get hubs from BIM360DM EMEA.",
      "Detail": "You don't have permission to access this API",
      "AboutLink": null,
      "Source": [],
      "meta": []
    }
  ]
}

I'm using a three-legged token with the scopes data:read data:write data:create, and the application is provisioned by the BIM360 Account Admin. I'm currently out of ideas. Is there anything the Autodesk.Forge package can provide? Or am I looking in the wrong place?

cyrillef commented 3 years ago

It should work as we are all using it Sorry to be late on this question, but it is better to ask question for faster response on stackoverflow or per email at forge . help @ autodesk . com

If this is still an issue, let me know,