Announcement

Collapse
No announcement yet.

Obtain Error messages of Channel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Obtain Error messages of Channel

    Hi,

    I want to search for each channel, all the error messages. After that i want to reprocess them.
    How can i get search all error messages from channel using user API?
    Last edited by faoc; 10-16-2017, 06:12 AM.

  • #2
    If you're talking about the REST API, the GET /channels/{channelId}/messages endpoint should be able to do what you're looking for.
    Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

    Nicholas Rupley
    Work: 949-237-6069
    Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


    - How do I foo?
    - You just bar.

    Comment


    • #3
      yes, with rest api i can do that. But how can i call rest api with mirth? i'm getting error with https connection...

      Comment


      • #4
        I have one destination that is an http sender and i'm trying to call resp api. But i get always and error:

        "ERROR: Error connecting to HTTP server [SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target]"

        This is an internal network. How can i solve that?

        Comment


        • #5
          Mirth Connect will auto-generate a self-signed certificate that it uses for HTTPS traffic. I'd suggest replacing that with your own company cert if applicable. There's more information in the user guide.

          Or, you can accept the security risk and simply add the self-signed cert to your truststore.
          Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

          Nicholas Rupley
          Work: 949-237-6069
          Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


          - How do I foo?
          - You just bar.

          Comment

          Working...
          X