For failed tool imports, does Fusion log errors in a log file?

For failed tool imports, does Fusion log errors in a log file?

simspacetn
Advocate Advocate
321 Views
5 Replies
Message 1 of 6

For failed tool imports, does Fusion log errors in a log file?

simspacetn
Advocate
Advocate

I have a custom tool management web app. I've written code to export tools from my web app to json so that I can import those tools into Fusion. I'm testing with one tool right now and I'm getting the generic error message seen below when I try to import the json file. 

 

Is there a log file that may offer more details regarding what's wrong with or what is missing in the json file I am trying to import? I'm on MacOS.

 

simspacetn_0-1740414474129.png

 

I posted this question in the API and Scripts forum but I didn't get any replies. I'm hoping someone in this forum may be able to answer my question.

 

0 Likes
Accepted solutions (1)
322 Views
5 Replies
Replies (5)
Message 2 of 6

seth.madore
Community Manager
Community Manager

I don't think there's anywhere where we store them, but it seems sensible that we should. I'll check with the team and let you know!


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 3 of 6

simspacetn
Advocate
Advocate

Thank for looking it to that @seth.madore!

0 Likes
Message 4 of 6

seth.madore
Community Manager
Community Manager

Could you provide an example of the tool you are trying (and failing) to import?


Seth Madore
Customer Advocacy Manager - Manufacturing


Message 5 of 6

simspacetn
Advocate
Advocate


@seth.madore, attached is the json file my web app is creating for the import. It is in a compressed/zip file format because the forum would not allow to upload a `.json` file.


I'm sure the json format is wrong and probably missing required data. I'm trying to figure out what is wrong. I found several Fusion log files, but there does not appear to be any errors generated on a failed tool import. I was hoping that Fusion would log what is wrong with the JSON file, but that does not appear to be the case.


Thanks for your help!

0 Likes
Message 6 of 6

seth.madore
Community Manager
Community Manager
Accepted solution

So I had one of the developers take a look at your file and the response back was "there's a lot of stuff wrong and/or missing"/

My advice to you is this: In Fusion, create one of each tool type and then export those as a .json file. With that in hand, you can than configure your app to output those same tools and compare the .json for what's missing and/or incorrect.


Seth Madore
Customer Advocacy Manager - Manufacturing