none
There was a failure executing the response(receive) pipeline RRS feed

  • Question

  • Hi,

    xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'BizTalkKApi.FinanceOrchestration(7c7b195f-d6b4-2756-6c4d-e31d17d59813)'. The service instance will remain suspended until administratively resumed or terminated. If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception. InstanceId: eac58a2f-6232-43e9-bc9c-1caa64c462fa Shape name: Receive_1 ShapeId: a44acc5f-1dd3-4530-a0e5-72427d4a112b Exception thrown from: segment 3, progress 20 Inner exception: An error occurred while processing the message, refer to the details section for more information Message ID: {8CE056F8-A8C0-46C0-8DF4-2C7FD878F3D6} Instance ID: {4A6D0AF1-69F4-4A48-AA4F-75950B9B528E} Error Description: There was a failure executing the response(receive) pipeline: "BizTalkKApi.JsonReceivePipeline, BizTalkKApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=114ecb1bec357144" Source: "JSON decoder" Send Port: "SendPortRestAPI" URI: "http://localhost:57800/" Reason: Unexpected character encountered while parsing value: <. Path '', line 0, position 0. Exception type: XlangSoapException Source: Microsoft.XLANGs.BizTalk.Engine Target Site: Void VerifyTransport(Microsoft.XLANGs.Core.Envelope, Int32, Microsoft.XLANGs.Core.Context) The following is a stack trace that identifies the location where the exception occured at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.VerifyTransport(Envelope env, Int32 operationId, Context ctx) at Microsoft.XLANGs.Core.Subscription.Receive(Segment s, Context ctx, Envelope& env, Boolean topOnly) at Microsoft.XLANGs.Core.PortBase.GetMessageId(Subscription subscription, Segment currentSegment, Context cxt, Envelope& env, CachedObject location) at BizTalkKApi.FinanceOrchestration.segment3(StopConditions stopOn) at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp) 

    I am getting above error in a json to xml receive pipeline.

    Wednesday, July 11, 2018 10:03 AM

All replies

  • Unexpected character encountered while parsing value: <. Path '', line 0, position 0

    Are you sending XML not JSON?

    Please upload the orginating message if possible

    /Peter

    Wednesday, July 11, 2018 10:22 AM
  • Looks like an error in the JSON you are suppose to receive. Please try to see the input; it looks like an XML is sent instead of expected JSON (I am assuming you are expecting JSON)
    Wednesday, July 11, 2018 5:33 PM
  • As already mentioned, looks like the JSON decoder is failing to parse the XML - maybe the XML is not valid.
    There are online tools to parse XML to JSON, please verify if it parses fine in one of those.

    Thanks Arindam

    Wednesday, July 11, 2018 11:26 PM
    Moderator