Autodesk-Forge / design.automation-python-tutorial

Design Automation sample in Python: Shows how to get token and check the status of one existing work item
MIT License
35 stars 19 forks source link

Added module getUsers() returns “This account doesn't exist” #6

Closed jfreund29 closed 4 years ago

jfreund29 commented 4 years ago

Hi, please find my Stack Overflow question here: https://stackoverflow.com/q/60531589/13007291

I have modified the code in forge-da.py by adding a module for getUsers() per the following link: https://forge.autodesk.com/en/docs/bim360/v1/reference/http/users-GET/

But I keep getting the following error: Get Users Failed! status = 404 ; message = {"code":1004,"message":"this account doesn't exist."}

I have double checked the IDs, secrets/tokens, and they all seem to be fine, so I am not sure how to get this working. Any help would be greatly appreciated. Thanks!

jfreund29 commented 4 years ago

Figured it out - wasn't fully reading the URL. Please refer to the stackoverflow question for the answer.