# Fhir-bridge keeps failing **Category:** [Platform](https://discourse.openehr.org/c/platform-implem/7) **Created:** 2023-02-21 18:17 UTC **Views:** 446 **Replies:** 6 **URL:** https://discourse.openehr.org/t/fhir-bridge-keeps-failing/3600 --- ## Post #1 by @Muhammad_Abiodun_Sul Hello everyone, I am trying to use **fhir-bridge** for integrating **Medplum** and **ehrbase**, **mvn clean install & mvn package** worked fine. However, **java -jar target/fhir-bridge-1.5.5.jar** keep throwing an error (see as attached in the image) ![Screenshot from 2023-02-21 19-11-07|690x390](upload://xW9PIJ0CjvkCktAQ7yO9uGFHnMP.jpeg) What could I be doing wrong? --- ## Post #2 by @Seref [quote="Muhammad_Abiodun_Sul, post:1, topic:3600"] What could I be doing wrong? [/quote] According to the exception details in the screenshot, a Spring bean factory method is parsing some fhir resource, but the parse itself is failing. This would lead to a cascading series of problems so Spring is doing the right thing and aborting the wiring of dependencies to their implementations. If you're in the mood for an adventure, you can go and check the `requestValidatingInterceptor` method's implementation and see if you can isolate the parse that's failing, to confirm this is the issue. Remember that this is advice given by a random bloke on the Internet based on a screenshot though, so you may want to open and issue in Github before you consider my suggestion, EhrBase team is pretty good at responding to those :slight_smile: --- ## Post #3 by @Muhammad_Abiodun_Sul Thanks for your response, the docker-container for **fhir-bridge** keeps failing upon starting it. --- ## Post #4 by @birger.haarbrandt Hi @Muhammad_Abiodun_Sul, I just checked out the latest version and tried building via mvn clean install. I can start without any issues using spring-boot:run or as you described: ![image|690x398](upload://kA74lFpNSsmzO2yVF4gM1AgyqvB.png) So not super helpful but at least I can give the hint that the issue is not any faulty version of the bridge. --- ## Post #5 by @Muhammad_Abiodun_Sul [quote="Seref, post:2, topic:3600"] requestValidatingInterceptor [/quote] Thanks @birger.haarbrandt, **mvn clean install** works fine. However, running **java -jar target/fhir-bridge-1.5.5.jar** keeps throwing the error in the attached image. Can you as well try running **docker-compose -f docker-compose-full.yml up fhir-bridge**. You'll find that the image will stop with the error in the image I've attached herein ![Screenshot from 2023-02-21 22-35-53|690x390](upload://688wcMwcdowWZN1OQ9wCIAkVwHp.png) --- ## Post #6 by @Muhammad_Abiodun_Sul Also check out this image please ![Screenshot from 2023-02-21 22-32-41|690x390](upload://geRfOxEirIPBLDMyxJxFuiFsqPW.jpeg) --- ## Post #7 by @SevKohler You uploaded an ValueSet as StructureDefinition in your FHIR profile folder. ![image|690x25](upload://nH0nAuRsKdNGDgBXhh1Edy4v4GP.jpeg) The folder is only for profile SDs not for valuesets ;) --- **Canonical:** https://discourse.openehr.org/t/fhir-bridge-keeps-failing/3600 **Original content:** https://discourse.openehr.org/t/fhir-bridge-keeps-failing/3600