Community
BIM 360 API Forum
Welcome to Autodesk’s BIM 360 API Forums. Share your knowledge, ask questions, and explore popular BIM 360 API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sample API Labs

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Daniel.Scott
507 Views, 2 Replies

Sample API Labs

Being completely new to the BIM 360 API I have been attempting to use the sample labs provided here: http://bim360api.github.io/

However, they are very difficult to follow! As the only thing I need to change is the Api Key, Api Secret and the company ID (and none of the code) I can safely assume it's something that I'm doing wrong!

 

Below is the first attempt I make, the api key and api secret I got directly from the my apps section on the forge developer page https://developer.autodesk.com/myapps

prob.png

 

Attempting this information gives me the error "ERROR;403;Invalid BIM 360 Glue SDK API key.", which considering I got the api key and secret directly from the developer page I found this odd, reading through old posts someone had tried it with a different base api url which appeared to be for testing purposes (which is all I'm after for now).

This changes that line to this;

prob.png

 

Only now I get the error "ERROR;401;Account not found" even though I'm using the same login as I do on autodesk sites.

 

Can someone please point me in the right direction! Thank you!

 

2 REPLIES 2
Message 2 of 3
Daniel.Scott
in reply to: Daniel.Scott

Turns out I had a fair few problems on this one!

 

After using the forge help they told me that i needed to do a key exchange on the developer tab in the BIM360 product before I can use the API, this must be done on the admin account. Then secondly I was trying to access the glue API which I wasn't aware that forge did not support so couldn't finish what I wanted to do anyway! Moving on to alternatives now

Message 3 of 3

Thank you, Daniel, for sharing the information! 

 

For the sake of reducing similar confusion for those who are new to BIM 360 API, I made a blog post about BIM 360 API and Forge: 

 

https://fieldofviewblog.wordpress.com/2016/08/09/bim-360-api-on-forge/ 

 

 


Mikako Harada
Developer Technical Services

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report