0 votes
992 views

Hi there, 

I am having issues importing a json database. I'm getting the following error:

mainERRORorg.openlca.app.wizards.io.JsonImportWizardJSON import failed

Wondering if anyone could help me with that. 

Thanks,

in openLCA by (120 points)

1 Answer

0 votes
by (125k points)
edited by
Hi, can you maybe explain a bit more? Now it is a bit as if you say: my car does not start. Wondering if anyhone can help me with that.

Thank you!

Andreas

- just edit your question to add details if you like

- edited based on your comment: please check the JSON, it should contain subfolders with processes, flows, etc.
by (120 points)
Hi Andreas,

Thanks for writing back. I have been trying to import a database shared (via dropbox) by a client. I performed the following steps:
1. Created a new database with "Local" as the database type and "complete reference data" as the database content.
2. I tried importing the database. File>Import>Other>Linked Data (JSON-LD)>selected the .zip file>finish

I get an error stating "An internal error occurred" "JSON import failed".

Let me know if you would need more information.

Thanks for your time and help.
by (120 points)
Hi Andreas,

I figured the reason for the error. I wanted to post it here in case someone else is having the same issue. The reason the database was not being imported was the location of the zipped file. The zipped file has to be in the same folder as your openLCA application for it to be imported.
...