Clay Icon

Understanding Webhook Size Limits and 413 Error Solutions

·
·

What’s the size limit for the webhook? I’m trying to build a workaround so that we (Adyntel) don’t send a response that’s higher than the cell size but if I send a JSON that’s estimated to be bigger than 100kb I always get a 413 error from you guys. The cellsize limit is 200kb so I’m not sure why this happens with 100kb (just had this happen with 119kb)

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    👋 Hey there! Our support team has got your message - we'll be back in touch soon. If you haven't already, please include the URL of your table in this thread so that we can help you as quickly as possible!

  • Avatar of Owen C.
    Owen C.
    ·
    ·

    Hey Andrei, thanks for reaching out! The 413 error occurs because the payload size limit for webhooks in Clay is 100KB. Even though individual cell sizes in your table can accommodate up to 200KB, the webhook payload itself cannot exceed the 100KB limit. This limitation ensures stable and consistent processing of incoming data. To avoid the 413 error, here are a few suggestions: 1. Break Down Larger Payloads: Split your JSON data into smaller chunks of less than 100KB before sending them to the webhook. 2. Batch Requests: If possible, send multiple smaller requests instead of a single large one. 3. Optimize Data: Minimize the size of your JSON payload by removing unnecessary fields, whitespace, or other extraneous data. Hope this helps! Let us know how else we can assist here. :)

  • Avatar of Andrei B.
    Andrei B.
    ·
    ·

    Ok, cool, then I’ll limit the size to 100kb. Thanks for the quick reply.

  • Avatar of Owen C.
    Owen C.
    ·
    ·

    Of course! Let us know if theres anything else we can assist with. :)

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    Hey there - just wanted to check in here to see if you needed anything else! Feel free to reply back here if you do.

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    We haven't heard back from you in a bit, so we're going to go ahead and close things out here - feel free to let us know if you still need something!

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    Hi Andrei B.! This thread was recently closed by our Support team. If you have a moment, please share your feedback:

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    Thank you so much for sharing your feedback Andrei B.!