Skip to content

UnprocessableEntityException: HTTP 422 Unprocessable Entity: Attachments have data and/or url, or else SHOULD have either contentType and/or language #20

@pnrobinson

Description

@pnrobinson

2022-09-01 17:27:46.906 [main] ERROR o.s.boot.SpringApplication [SpringApplication.java:856] Application run failed
java.lang.IllegalStateException: Failed to execute CommandLineRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:807)
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:788)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:333)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1309)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1298)
at org.monarchinitiative.hapiphenoclient.PhenoClientConsoleApplication.main(PhenoClientConsoleApplication.java:36)
Caused by: ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException: HTTP 422 Unprocessable Entity: Attachments have data and/or url, or else SHOULD have either contentType and/or language
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions