Data Exchange Community
Welcome to the community conversation around interoperability workflows enabled by Autodesk Data Exchange Connectors, SDKs, and APIs. What are Data Exchanges? Instead of sharing a file, share a subset of geometry and properties from your model for use in other apps!

Learn more on our landing page.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 4
BartDeMaesschalck
357 Views, 3 Replies

GraphQL GetHubs

GraphQL Gethubs does not return all hubs?

I am using the "Data Exchange Model Explorer - BETA"

I have a number of hubs on us and european servers. These hubs are not listed with the gethubs command.

When I use the hubId and add "a." or "b." in the GetHub command returns an error "Failed to get hubid"

Labels (1)
3 REPLIES 3
Message 2 of 4

Hi Bart - I am not sure we have this properly documented... can you try adding this to the header...

 

Emea data is only accessible when a user provides an additional header region=EMEA or  Region=EMEA

Message 3 of 4


The above is indeed not documented and vewry usefull in older API examples.

But I found the solution by reading the avaiable documentation more attentivly:

BartDeMaesschalck_0-1713508569056.png

I had to add this clientId and not only the id af the integration I created.

Message 4 of 4

OK - glad you got unstuck! FYI we have added better documentation on this one...
https://aps.autodesk.com/en/docs/fdxgraph/v1/reference/graphql_endpoint/

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report