Datasmith export failed

When attempting to export my model from Revit 2020, the process fails with the following message.
It would be nice if the error reporting could identify the specific Revit element that is to causing the error.

Cannot export the 3D view: Can not get face for the specified Wall object at Autodesk.Revit.DB.CustomExporter.Export(View view) at DatasmithRevitExporter.DatasmithRevitCommand.Execute(ExternalCommandData InCommandData, String& OutCommandMessage, ElementSet OutElements)

Under “elements” there is nothing listed in the error report.

Any luck? I have the same exact issue.

Sorry, jumped the gun there. I did this step and still couldn’t export… I’m sure wall voids are the problem. I just exported the walls via FBX instead, everything else via Datasmith. Not ideal, but gets the job done!

invalid geometry is the issue - I determined in my scene a wall object in Revit that didn’t have any geometry.

Datasmith should work if you hide the wall category. Then hide all categories except the walls,have a look through your worksets and try exporting them one by one through Datasmith. Once you isolate the workset giviing you the trouble, see if there’s any objects that present you with a blue bounding box in the viewport and yet have no geometry. In my case it was a Curtain Wall set of families. Then select each family and select all instances visible in view - delete. Repeat until all the offending items are removed, and the export should work.