<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Wook Unknown Error</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/3959/web-wook-unknown-error</link><description>After activating a webhook for the cases modules i get the following error(see below) every time I tried to create a case from the sugarCRM base platform, it keeps functioning after the record has been created and it sends the event created to the specified</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Web Wook Unknown Error</title><link>https://sugarclub.sugarcrm.com/thread/20412?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 06:55:21 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:6cc5012b-3bb8-4b30-a9ae-89c463eeb22d</guid><dc:creator>Andre Serrazina</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello All,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I just want to add that the reason behind the error is the&amp;nbsp;huge&amp;nbsp;payload that is being generated.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The suggestion of Neeraja&amp;nbsp;could work as a workaround&amp;nbsp;but in the meanwhile, the Sugar team has the issue documented as defect #82879 ( &lt;a href="https://portal.sugarondemand.com/#supp_Bugs/82879"&gt;portal.sugarondemand.com/&lt;/a&gt; )&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can use the above link anytime for a real-time status update.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;An escalation has already been filled for the defect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I hope this helps.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web Wook Unknown Error</title><link>https://sugarclub.sugarcrm.com/thread/20411?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 06:39:42 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:d4370538-9e8a-4620-907c-b45e43462697</guid><dc:creator>Neeraja P</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/karenescritorio"&gt;Karen Escritorio&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Your&amp;nbsp;screenshot has some useful information. If you see the last line in the first screenshot - It says&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;Got a packet bigger &lt;span&gt;than &lt;/span&gt;&lt;span&gt;&amp;#39;max_allowed_packet&amp;#39; &lt;/span&gt;bytes&lt;/pre&gt;
&lt;p&gt;What this means is that - the web hook is not able to save current case information in your job table.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The way web hooks work is that - it dumps the complete&amp;nbsp;record information into the &amp;quot;&lt;em&gt;job_queue&lt;/em&gt;&amp;quot; table - which usually is in the order of 8MB. If you have a lot of custom&amp;nbsp;fields and data, the size is even bigger.&lt;/p&gt;
&lt;p&gt;Based on the error message, in your&amp;nbsp;MySQL configuration, the &lt;em&gt;max_allowed_packet&lt;/em&gt; setting is probably really low - is it like 8 MB? You&amp;nbsp;can try increasing it to say 32MB or 64MB.&lt;/p&gt;
&lt;p&gt;You should modify your MySQL configuration - usually the file name is&amp;nbsp;&lt;code class="highlighter-rouge"&gt;my.ini&lt;/code&gt;&amp;nbsp;or&amp;nbsp;&lt;code class="highlighter-rouge"&gt;my.cnf&amp;nbsp;&lt;/code&gt;and put this line under&amp;nbsp;[mysqld]&amp;nbsp;section:&lt;/p&gt;
&lt;div class="highlighter-rouge"&gt;
&lt;div class="highlight"&gt;
&lt;pre class="highlight"&gt;&lt;code&gt;max_allowed_packet=32M&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Once you make this change and restart the&amp;nbsp;MySQL server, the web hook should start working. Please let us know if this works for you.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;div class="highlighter-rouge"&gt;
&lt;div class="highlight"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web Wook Unknown Error</title><link>https://sugarclub.sugarcrm.com/thread/20410?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 06:00:32 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:f476506c-2d43-463c-b730-fa884ee5316e</guid><dc:creator>Karen Escritorio</dc:creator><description>&lt;p&gt;Hey&amp;nbsp;&lt;a href="/members/neej"&gt;Neeraja P&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This the bottom....&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/54/pastedimage1599456950903v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Filtering for errors i&amp;#39;ve found this...but no SQL error&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/54/pastedimage1599457189935v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;NOTE: a mail server is trigger when a new case is created for auto-reply, (it looks for a contact in the contacts subpanel and sends an email) but when a case is created from the &amp;#39;base&amp;#39;/administration platform there is no contact and this could be causing the error...........but i tried to reproduce the error with the workflow (auto-reply email) turned off and the webhook still active and the error still poped up, the only time the error screen doesn&amp;#39;t show is when i dont use the web logic hooks functionality.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The log/code is really really long and only a one liner...but i hope the image helps&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web Wook Unknown Error</title><link>https://sugarclub.sugarcrm.com/thread/20405?ContentTypeID=1</link><pubDate>Sun, 06 Sep 2020 05:22:22 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:5e5ee8ac-5c62-4fb8-ab64-22c76ae5b28a</guid><dc:creator>Neeraja P</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/karenescritorio"&gt;Karen Escritorio&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Can you scroll down to the end of the page and share the actual SQL error? Yes, this does seem straightforward and works for me, so need more info on what the actual error was - which looks like it&amp;#39;s related to the &amp;quot;Insert&amp;quot; query, based on your screenshot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>