Layer7 API Management

  • 1.  Unformatted error message from layer 7

    Posted May 17, 2018 10:19 AM

    Hi,

     

    I am working on a layer 7 rest endpoint . i get the response from backend service if i send correct request parameters. 

     

    When i try to send invalid request to test the error coming from backend . i get something like this :

    xxmlversion1.8errorerrormessagedatanotfounderrormessageerror

     

    when i tested the backed service , the error is well formated xml message.

     

    Thanks,

    Swathi



  • 2.  Re: Unformatted error message from layer 7

    Broadcom Employee
    Posted Jun 12, 2018 09:58 AM

    Hi Swathi,

     

    Could you provide another sample of the response to the Gateway? Perhaps a snippet from the log vs what you expect to see or what you are receiving from the backend directly.

     

    Regards,

    Joe



  • 3.  Re: Unformatted error message from layer 7
    Best Answer

    Posted Jun 12, 2018 01:42 PM

    Hi Joe,

     

    This issue has been resolved . we had a global policy in which we were using reg expressions for responses to remove "</" and all the other tags. it was a bug in that policy.

     

    Thanks for your response.

     

    Thanks,

    Swathi



  • 4.  Re: Unformatted error message from layer 7

    Broadcom Employee
    Posted Jun 12, 2018 01:56 PM

    Thanks Swathi, glad to hear you were able to get it taken care of.

     

    Regards,

    Joe