Skip to content

UNABLE TO IMPORT SNOMED AFTER INSTALL #940

Answered by cmark
okongwu101 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @okongwu101,

Thank you for checking out Snow Owl.
It looks like the curl command you have tried missing a few required parameters to work properly.
I recommend using the newer POST /snomed-ct/v3/{path}/import endpoint instead of the deprecated POST /snomed-ct/v3/imports (the latter will be removed in the upcoming 8.x release).

An example curl command to import the latest International RF2 Full from the official release file would look like this:

curl -X POST "http://localhost:8080/snowowl/snomed-ct/v3/MAIN/import?type=Full&createVersions=true" -H "Content-Type: multipart/form-data" -F "file=@/path/to/SnomedCT_InternationalRF2_PRODUCTION_20210731T120000Z.zip" 

I hope this helps.

Regards,

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cmark
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #894 on November 15, 2021 20:17.