Webhook error

Hello, hoping someone has suggestions to get around a Sugar error/bug (https://portal.sugarondemand.com/#supp_Bugs/82879)  that hasn't been addressed.

We've created several webhooks to fire when we add/update several types of records (Contacts, Accounts, etc.). We've found that if the record in the specific module is being updated, the webhook fires correctly and passes the appropriate JSON info to the destination. However, if the record is being ADDed for the first time, the webhook is called but eventually times out and upon investigation, it looks like Sugar is trying to send over 100MB of data.

The record is created in Sugar - of course because the webhook is firing after update - but since the webhook fails, the subsequent call to our targets fail.

This is a known error to Sugar (since version 9) and hard to imagine that they wouldn't have addressed this break of core functionality - but they haven't.  They can't or won't recommend work-arounds and have no comment on when or if they will address the issue.

In another club discussion, someone recommended upping the limits in our MySQL to handle 100MB+ of data.  That's not a good answer for us - we don't want to send 100MB+ on every one of our transactions.

Does anyone have any suggestions - that don't involve buying third-party products - to get around this issue?  Thanks very much.

Bob

Parents
  • Hi 

    The external calls could be configured in Logic Hooks - which, IMHO, provides more flexibility and adaptability than Web Logic Hooks - who knows, maybe this fact has been taken into account when the issue received its severity...

    Have a look:

    If 100MB+ is not a healthy amount of data to be sent for your case, the middleware might not be mandatory,
    and I would assume that it should be possible to configure expected behavior in Sugar  with the Logic Builder no-code configuring tool

    Here is how solution configuration looks in Logic Builder for the example on the video - send JSON with POST to the given URL on record edited (or added - see the "new" -boolean output for the first operator in the flowchart below? - zoom in and follow the white line to read the flowchart).




    The tool provides an installable zip for the flowchart - in a click, then I deployed it to Sugar demo instance.
    So in total, it took for me approx 5-7 min to design it + 5 min to deploy it to Sugar via Module Loader and another 10 to make a video provided above :)

    If you would like to try the approach for your case, the solution will cost you nothing but genuine Sugar subscriber's feedback here, in the Club, whether configuring with Logic Builder helps.

    If you like to make logic hook work for your Sugar on these conditions, pls drop me a line at dch@integroscrm.com and let me try to help :)

    Best Regards,
    Dmytro Chupylka

    integroscrm.com
    We make work in Sugar CRM system faster, more convenient and efficient

Reply
  • Hi 

    The external calls could be configured in Logic Hooks - which, IMHO, provides more flexibility and adaptability than Web Logic Hooks - who knows, maybe this fact has been taken into account when the issue received its severity...

    Have a look:

    If 100MB+ is not a healthy amount of data to be sent for your case, the middleware might not be mandatory,
    and I would assume that it should be possible to configure expected behavior in Sugar  with the Logic Builder no-code configuring tool

    Here is how solution configuration looks in Logic Builder for the example on the video - send JSON with POST to the given URL on record edited (or added - see the "new" -boolean output for the first operator in the flowchart below? - zoom in and follow the white line to read the flowchart).




    The tool provides an installable zip for the flowchart - in a click, then I deployed it to Sugar demo instance.
    So in total, it took for me approx 5-7 min to design it + 5 min to deploy it to Sugar via Module Loader and another 10 to make a video provided above :)

    If you would like to try the approach for your case, the solution will cost you nothing but genuine Sugar subscriber's feedback here, in the Club, whether configuring with Logic Builder helps.

    If you like to make logic hook work for your Sugar on these conditions, pls drop me a line at dch@integroscrm.com and let me try to help :)

    Best Regards,
    Dmytro Chupylka

    integroscrm.com
    We make work in Sugar CRM system faster, more convenient and efficient

Children
No Data