Skip to content

Mirth seemingly not converting reponses to JSON #4578

Answered by tonygermano
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

From the channel you posted to pasetbin in #4578 (reply in thread), in your NewInvitation_ORM_NW destination, you have Response Content set to XML Body, which is creating the XML you are seeing in your response transformer. I had suggested you check that setting #4578 (reply in thread). Your CancelInvitation_ORM_CA HTTP Sender is not set that way, so I assume it is not having the same issue.

@rjkroll was correct that the error was indicating the channel was getting XML when it was expecting JSON. You could have set it to Raw like you proposed in the question to avoid the exception, but the setting on the destination would still have caused it to come in as XML.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@ghost
Comment options

@tonygermano
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected
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
None yet
3 participants