AnsweredAssumed Answered

Logic hook response to 3rd party API returned in Sugar's Response

Question asked by David Angulo on Aug 10, 2018
Latest reply on Aug 14, 2018 by hats

I have a Logic Hook that sends some data to a third party API, the problem I have is that the response received from that service is appended to the response Sugar sends to its front-end, so I end up with an error message because Sugar's front end didn't receive a correct JSON response 


Here's an example of the response received by sugar when the Logic Hook executes



Is there a way to avoid this?