FHIR Chat · Publishing Content Failed: Invalid - see reasons · IG creation

Stream: IG creation

Topic: Publishing Content Failed: Invalid - see reasons


view this post on Zulip Osaid Nabulsi (Oct 27 2021 at 21:14):

Dears,
when I run the web ig publisher to generate the static website, it stops with error: "Publishing Content Failed: Invalid - see reasons".
could you please help me in identifying the issue and how could I "see reasons" as it mentioned in the error message ?

Thanks.

view this post on Zulip Lloyd McKenzie (Oct 27 2021 at 21:18):

What shows up earlier in the log?

view this post on Zulip Osaid Nabulsi (Oct 28 2021 at 08:17):

"Resource ValueSet/v3-ServiceDeliveryLocationRoleType not defined
Publishing Content Failed: Invalid - see reasons (02:14.0946)
(02:14.0949)
Use -? to get command line help (02:14.0952)
(02:14.0955)
Stack Dump (for debugging): (02:14.0958)
java.lang.Exception: Invalid - see reasons
at org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:3433)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:902)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:759)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8762)"

I think this is the problem -> "Resource ValueSet/v3-ServiceDeliveryLocationRoleType not defined",
because when I remove the file for this ValueSet it complete the run without issues.

do you what could be the problem in the ValueSet ?

view this post on Zulip Osaid Nabulsi (Oct 28 2021 at 08:28):

it is fixed, it was an issue because the file name was not the same of the "id" of the ValueSet, so when changed the filename to be the same as "id" it works fine.


Last updated: Apr 12 2022 at 19:14 UTC