Skip to main content

Hi all,

I have a process where I use the AutodeskDocsConnector transformer to list some files in a folder in ACC, and then download selected files depending on some criteria.

I have set up an application in Autocad Platform Services to get a client ID and secret, and I have created a new connection in FME using these details. This workspace works perfectly in FME Form.

In FME flow I have brought though this same connection, and I have authorized it successfully. When I run the workspace the first AutocadDocsConnector that lists the files appears to work, although it provides some information (not an error or warning) which I believe is crucial to my issue: “AutodeskDocsConnector: Could not get information about parent of file 'BIM_GIS_Test/Models/IFC'. This may be due to not having correct permissions. Continuing without parent information”.

It then attempts, but fails, to download the select file. It actually creates an empty file with the correct name in my output folder. The error it produce is “Python Exception <AttributeError>: 'NoneType' object has no attribute 'status'”.

So I believe there is some kind of permission issue somewhere, but not sure how to fix it. There has been a big SAML authentication push on FME Flow from our IT recently, and wouldn’t be surprised if this has contributed to the issue somehow.

Has anyone struck this before and know what is going on?

Thanks

Keith

Also, I should have specified above that we are using FME Form 2025.1.1 and FME Flow 2025.1.1


You might get some more information if you run the job with debug logging - hopefully there is some logging about the authentication process.

It does seem to suggest an issue with the connection. Did you have to configure a redirect uri anywhere in the connection? I’m not familiar with the Autodesk connection? I think the redirect uri is usually only important for the initial authentication though but worth looking into. 

I just took a quick look at the doc in FME https://support.safe.com/hc/en-us/articles/25407574731149-Adding-FME-through-the-Autodesk-App-Store-for-Use-in-the-AutodeskDocsConnector - There is a note about location in the configuration on the Autodesk side - could it be that your FME Cloud region is different to where you initially defined the connection? I’m not really sure is this is for authentication purposes or like more like s3. 

Another thing which I would wonder about is if I initially set up the connection with a different version of FME. As this looks to be an FME package it could be there is an issue with the package/FME version.

FME on FME Cloud will most likely be running a different version of Python to what came shipped with FME on Windows.

I would try and set up a test workspace where I could test different things. For example, if you have the connection set up incorrectly do you get a different error to what you’re getting? If it’s the same error then it’s definitely a good clue there’s an issue with the connection details somehow. If instead you get a different error then it could be there is a bug in the FME Package and you’ll need to contact Safe.

These issues are super annoying “pulls hair out”!   


Thanks Matt,

That link is actually new to me and super helpful. I hadn’t realised that FME is now an approved app in the Autodesk App Store. In theory this should make things much simpler, and while I don’t have the permissions to install the FME app in ACC, I have requested it from the powers that be.

Fingers crossed that this solves all the connection issues.

Thanks again

Keith